summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-08-31 07:06:19 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-08-31 07:06:19 -0700
commit33c4ea998b7b40245a80571c0370896d7782e7ce (patch)
tree7b53c71a33fbf2d7b36da4fa1e3b1378587be43f
parente0ce89f9972bfe686b4951aca0745edd664292de (diff)
downloadtxr-33c4ea998b7b40245a80571c0370896d7782e7ce.tar.gz
txr-33c4ea998b7b40245a80571c0370896d7782e7ce.tar.bz2
txr-33c4ea998b7b40245a80571c0370896d7782e7ce.zip
installer: don't package man page.
* inst.nsi: Windows has no man page reading tools, and the PDF and HTML are packaged already, so don't bundle the txr.1 man page source. Furthermore, we need to remove this when updating over existing installations, else they will forever have a stale txr.1 file hanging around.
-rw-r--r--inst.nsi3
1 files changed, 1 insertions, 2 deletions
diff --git a/inst.nsi b/inst.nsi
index 90e92b76..55056056 100644
--- a/inst.nsi
+++ b/inst.nsi
@@ -52,8 +52,6 @@ section "TXR"
SetOutPath $INSTDIR\txr\doc
File txr-manpage.html
File txr-manpage.pdf
- SetOutPath $INSTDIR\txr\share\man\man1
- File txr.1
SetOutPath $INSTDIR\txr\share\txr
File LICENSE
File METALICENSE
@@ -61,6 +59,7 @@ section "TXR"
File share\txr\stdlib\*.txr
File share\txr\stdlib\*.tl
Delete /REBOOTOK $INSTDIR\txr\bin\sh.exe
+ RmDir /r /REBOOTOK $INSTDIR\txr\share\man
WriteUninstaller $INSTDIR\txr\uninstall.exe
CreateDirectory "$SMPROGRAMS\txr"
CreateShortCut "$SMPROGRAMS\txr\txr.lnk" "$INSTDIR\txr\bin\txr.exe"