From e7d59e3c9221ea6d90c5e242044d4566eeea507d Mon Sep 17 00:00:00 2001 From: Nick White Date: Sat, 19 Nov 2011 17:32:54 +0000 Subject: Include all extras and man pages in dist --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 65ea185..09c0c97 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3