diff options
author | Nick White <git@njw.me.uk> | 2011-11-19 17:32:54 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-11-19 17:32:54 +0000 |
commit | e7d59e3c9221ea6d90c5e242044d4566eeea507d (patch) | |
tree | 2b1fe2a6a144b8ebd30ff875e50243e292f2709d | |
parent | bf16c683094a7678245aead27a199c70b0ee8d94 (diff) |
Include all extras and man pages in dist
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -7,7 +7,7 @@ SRC = getgbook.c getabook.c getbnbook.c LIB = util.o GUI = getxbookgui.tcl DOC = README COPYING INSTALL LEGAL -EXTRAS = extras/mkpdf.sh extras/mkocrpdf.sh +EXTRAS = extras/mkpdf.sh extras/mkocrpdf.sh extras/mkocrtxt.sh BIN = $(SRC:.c=) MAN = $(SRC:.c=.1) @@ -46,7 +46,9 @@ clean: dist: mkdir -p $(NAME)-$(VERSION) - cp $(SRC) $(GUI) $(EXTRAS) $(DOC) util.h util.c Makefile config.mk $(NAME)-$(VERSION) + cp $(SRC) $(GUI) $(DOC) $(MAN) util.h util.c Makefile config.mk $(NAME)-$(VERSION) + mkdir -p $(NAME)-$(VERSION)/extras + cp $(EXTRAS) $(NAME)-$(VERSION)/extras tar c $(NAME)-$(VERSION) | bzip2 -c > $(NAME)-$(VERSION).tar.bz2 gpg -b < $(NAME)-$(VERSION).tar.bz2 > $(NAME)-$(VERSION).tar.bz2.sig rm -rf $(NAME)-$(VERSION) |