summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2011-11-19 17:32:54 +0000
committerNick White <git@njw.me.uk>2011-11-19 17:32:54 +0000
commite7d59e3c9221ea6d90c5e242044d4566eeea507d (patch)
tree2b1fe2a6a144b8ebd30ff875e50243e292f2709d /Makefile
parentbf16c683094a7678245aead27a199c70b0ee8d94 (diff)
Include all extras and man pages in dist
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
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)