Skip to content

Commit ebfc3d3

Browse files
authored
Merge pull request #179 from gem/remove_pdf
remove pdf
2 parents 44c2677 + 78a2c53 commit ebfc3d3

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

installers/windows/nsis/docker/build.sh

+7-5
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,11 @@ sed "s@](\([^:]\+)\)@](https://github.com/gem/oq-engine/blob/${OQ_BRANCH}/\1@g;s
164164
python3 -m markdown /tmp/README.$$.md > README.html
165165
rm /tmp/README.$$.md
166166

167-
# Get a copy of the OQ manual if not yet available
168-
if [ ! -f OpenQuake\ manual.pdf ]; then
169-
wget -O- https://docs.openquake.org/manuals/OpenQuake%20Manual%20%28master%29.pdf > OpenQuake\ manual.pdf
170-
fi
167+
# AE remove on 11/21/24
168+
## Get a copy of the OQ manual if not yet available
169+
#if [ ! -f OpenQuake\ manual.pdf ]; then
170+
# wget -O- https://docs.openquake.org/manuals/OpenQuake%20Manual%20%28master%29.pdf > OpenQuake\ manual.pdf
171+
#fi
171172

172173

173174
if [[ $OQ_OUTPUT = *"exe"* ]]; then
@@ -187,5 +188,6 @@ if [[ $OQ_OUTPUT = *"zip"* ]]; then
187188
cd $DIR/python-dist
188189
zip -qr $DIR/${ZIP} python3
189190
cd $DIR
190-
zip -qr $DIR/${ZIP} *.bat *.pdf demos README.html LICENSE.txt
191+
#zip -qr $DIR/${ZIP} *.bat *.pdf demos README.html LICENSE.txt
192+
zip -qr $DIR/${ZIP} *.bat demos README.html LICENSE.txt
191193
fi

installers/windows/nsis/installer.nsi.tmpl

+6-7
Original file line numberDiff line numberDiff line change
@@ -163,18 +163,18 @@ SectionEnd
163163

164164
#GEM_SET_BUILD_SCIENCE
165165

166-
Section "!OpenQuake Engine demos and documentation" SecDocDemo
166+
Section "!OpenQuake Engine demos" SecDocDemo
167167
SectionIn RO
168168
# Install manual and demos in 'User\MyDocuments'
169169
# keep disabled for now. It may be dangerous.
170-
#SetOutPath "$DOCUMENTS\OpenQuake"
171-
#File "OpenQuake manual.pdf"
172-
#SetOutPath "$DOCUMENTS\OpenQuake\demos"
173-
#File /r /x ".gitignore" "demos\*.*"
170+
# SetOutPath "$DOCUMENTS\OpenQuake"
171+
# SetOutPath "$DOCUMENTS\OpenQuake\demos"
172+
# File "OpenQuake manual.pdf"
173+
# File /r /x ".gitignore" "demos\*.*"
174174

175175
# Keep a copy in the installation folder
176+
# File "OpenQuake manual.pdf"
176177
SetOutPath "$INSTDIR"
177-
File "OpenQuake manual.pdf"
178178
SetOutPath "$INSTDIR\demos"
179179
File /r /x ".gitignore" "demos\*.*"
180180
SectionEnd
@@ -251,7 +251,6 @@ Section "Uninstall"
251251
; Uninstall files
252252
Delete "$INSTDIR\README.html"
253253
Delete "$INSTDIR\LICENSE.txt"
254-
Delete "$INSTDIR\OpenQuake manual.pdf"
255254
Delete "$INSTDIR\openquake_black.ico"
256255
Delete "$INSTDIR\openquake.ico"
257256
Delete "$INSTDIR\oq-server.bat"

0 commit comments

Comments
 (0)