summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-02-03 21:27:53 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-02-03 21:27:53 (GMT)
commit0291f273e7c80dc7b28612db9b077fa983edb671 (patch)
treef6d8036439b27f6869ebfe194b9ae21d32f2d4fc /win
parent5a958264826294a0d3226fa94c1886e55b105b18 (diff)
downloadblt-0291f273e7c80dc7b28612db9b077fa983edb671.zip
blt-0291f273e7c80dc7b28612db9b077fa983edb671.tar.gz
blt-0291f273e7c80dc7b28612db9b077fa983edb671.tar.bz2
simplify build
Diffstat (limited to 'win')
-rw-r--r--win/Makefile.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index 5925c9d..836d0cc 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -26,6 +26,10 @@ WITHTCL = --with-tcl=$(prefix)/tcl$(TCL_VERSION)/win
WITHTK = --with-tk=$(prefix)/tk$(TCL_VERSION)/win $(WITHTCL)
CACHE = --config-cache --cache-file=$(prefix)/config.cache
+#--------------------------defines
+
+DS9APP =SAOImage\ DS9\ $(DS9_VERSION)
+
#--------------------------build
.PHONY : saods9 tcl tk tkwin libxml2 libxslt zlib
@@ -165,6 +169,8 @@ zlibdistclean :
.PHONY : dist
-dist : all
- cd bin; tar cvf - ds9$(EXEEXT) $(ZIPFILE) | gzip > dist/ds9.$(ARCH).$(DS9_VERSION).tar.gz
+dist :
+ $(RM) -f dist/$(DS9APP)\ Install.*
+ /cygdrive/c/Program\ Files\ \(x86\)/WinZip/wzzip -p -r dist/$(DS9APP)\ Install.zip bin/ds9app
+ /cygdrive/c/Program\ Files\ \(x86\)/WinZip\ Self-Extractor/WINZIPSE.EXE dist/$(DS9APP)\ Install.zip -d "C:\SAOImage DS9" -i ds9/win/ds9.ico -le -overwrite -runasuser -c cscript install.vbs