diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-01-27 18:59:30 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-01-27 18:59:30 (GMT) |
commit | e1605708257f4ef5800a57af05039a72d4a353f6 (patch) | |
tree | 004b7a38c0bd8cafcfa6dd231bb5dbb916cf1117 /ds9/make.include | |
parent | 9212f790aaf716a609290e68b6edbadfec78553d (diff) | |
download | blt-e1605708257f4ef5800a57af05039a72d4a353f6.zip blt-e1605708257f4ef5800a57af05039a72d4a353f6.tar.gz blt-e1605708257f4ef5800a57af05039a72d4a353f6.tar.bz2 |
simplify build
Diffstat (limited to 'ds9/make.include')
-rw-r--r-- | ds9/make.include | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/ds9/make.include b/ds9/make.include index 96699f8..47952bc 100644 --- a/ds9/make.include +++ b/ds9/make.include @@ -4,5 +4,21 @@ framework: cp -pr $(prefix)/ds9/doc $(TKSAORES)/. cp -pr $(prefix)/ds9/cmaps $(TKSAORES)/. cp -pr $(prefix)/ds9/template $(TKSAORES)/. - echo "pkg_mkIndex $(TKSAORES)/library *.tcl; exit" | $(TCLSH_PROG) +# must do it this way for win + cd $(TKSAORES)/library; \ + echo "pkg_mkIndex . *.tcl; exit" | $(TCLSH_PROG) +tkblt : + mkdir $(APPDIR)/tkblt + cp -p $(prefix)/tkblt/library/*.tcl $(APPDIR)/tkblt/. +# must do it this way for win + cd $(APPDIR)/tkblt; \ + echo "pkg_mkIndex . *.tcl; exit" | $(TCLSH_PROG) + + +tkcon : + mkdir $(APPDIR)/tkcon + cp -p $(prefix)/tkcon/*.tcl $(APPDIR)/tkcon/. +# must do it this way for win + cd $(APPDIR)/tkcon; \ + echo "pkg_mkIndex . *.tcl; exit" | $(TCLSH_PROG) |