diff options
author | Nick White <nick.white@proporta.com> | 2011-11-09 10:08:50 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-11-09 22:58:18 +0000 |
commit | d2e9afc5862c03c727f9bd853ec2ba8adadc6d61 (patch) | |
tree | 9e15cd476b9fb53b8d0692a4c43217d41d2f653b /Makefile | |
parent | 7627ebb1d6dc912d40dadbc761fc1a316003e7d4 (diff) |
Add windows dist build rule
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -59,6 +59,16 @@ dist: rm -rf $(NAME)-$(VERSION) echo $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION).tar.bz2.sig +# needs to be run from a mingw setup +dist-win: $(BIN) $(GUI:.tcl=.exe) + mkdir -p $(NAME)-win + cp $(OBJ:.o=.exe) $(GUI:.tcl=.exe) $(NAME)-win + for f in $(DOC); do cp $$f $(NAME)-win/$$f.txt; done + zip -j $(NAME)-$(VERSION)-win.zip $(NAME)-win/* + gpg -b < $(NAME)-$(VERSION)-win.zip > $(NAME)-$(VERSION)-win.zip.sig + rm -rf $(NAME)-win + echo $(NAME)-$(VERSION)-win.zip $(NAME)-$(VERSION)-win.zip.sig + index.html: doap.ttl README echo making webpage echo "<!DOCTYPE html><html><head><title>$(NAME)</title>" > $@ @@ -75,5 +85,5 @@ index.html: doap.ttl README sh websummary.sh doap.ttl | smu >> $@ echo '</body></html>' >> $@ -.PHONY: all clean install uninstall dist +.PHONY: all clean install uninstall dist dist-win .SILENT: index.html dist |