From 41bb44dd5a7c5ea86d139a0ccb2c91fb4a970bea Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 31 Aug 2016 07:06:19 -0700 Subject: 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. --- inst.nsi | 3 +-- 1 file changed, 1 insertion(+), 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" -- cgit v1.2.3