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
commit41bb44dd5a7c5ea86d139a0ccb2c91fb4a970bea (patch)
tree7b53c71a33fbf2d7b36da4fa1e3b1378587be43f
parent2f8546e1413f5e6355279a5d4b41488e5527c287 (diff)
downloadtxr-41bb44dd5a7c5ea86d139a0ccb2c91fb4a970bea.tar.gz
txr-41bb44dd5a7c5ea86d139a0ccb2c91fb4a970bea.tar.bz2
txr-41bb44dd5a7c5ea86d139a0ccb2c91fb4a970bea.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"