diff options
author | Nick White <git@njw.me.uk> | 2012-05-23 16:11:35 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2012-05-23 16:11:35 +0100 |
commit | 8db20b23852d979948b0f7f89914e5cff56ea732 (patch) | |
tree | 8b1606cb714b9a05c8cede52d48eadcc23fc8ffc | |
parent | 45668273b648401b313dd79ab9beaaff91d8b585 (diff) |
Add rule for static unix builds
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -61,6 +61,20 @@ dist: rm -rf $(NAME)-$(VERSION) echo $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION).tar.bz2.sig +# needs config.mk set up to build statically +dist-static: $(BIN) + mkdir -p $(NAME)-$(VERSION) + cp $(BIN) $(GUI) $(DOC) $(MAN) config.mk $(NAME)-$(VERSION) + sed 's/^install: all$$/install:/' < Makefile > $(NAME)-$(VERSION)/Makefile + mkdir -p $(NAME)-$(VERSION)/icons + cp icons/* $(NAME)-$(VERSION)/icons/ + mkdir -p $(NAME)-$(VERSION)/extras + cp $(EXTRAS) $(NAME)-$(VERSION)/extras/ + tar c $(NAME)-$(VERSION) | bzip2 -c > $(NAME)-$(VERSION)-static.tar.bz2 + gpg -b < $(NAME)-$(VERSION)-static.tar.bz2 > $(NAME)-$(VERSION)-static.tar.bz2.sig + rm -rf $(NAME)-$(VERSION) + echo $(NAME)-$(VERSION)-static.tar.bz2 $(NAME)-$(VERSION)-static.tar.bz2.sig + getxbookgui.exe: getxbookgui.tcl @echo STARPACK $@ @sdx qwrap getxbookgui.tcl |