From cd0c0a821361f5ee7c52ee60fb0ed5b758e53620 Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 30 Oct 2011 12:29:45 +0000 Subject: Add ocr pdf script --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c87e90d..0428b51 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,9 @@ NAME = getxbook SRC = getgbook.c getabook.c LIB = util.o -SCRIPTS = makebookpdf.sh getxbookgui +GUI = getxbookgui DOC = README COPYING INSTALL LEGAL +EXTRAS = extras/mkpdf.sh extras/mkocrpdf.sh BIN = $(SRC:.c=) MAN = $(SRC:.c=.1) @@ -32,12 +33,12 @@ util.a: $(LIB) install: all mkdir -p $(DESTDIR)$(PREFIX)/bin - cp -f $(BIN) $(SCRIPTS) $(DESTDIR)$(PREFIX)/bin + cp -f $(BIN) $(GUI) $(DESTDIR)$(PREFIX)/bin mkdir -p $(DESTDIR)$(MANPREFIX)/man1 for f in $(MAN); do sed "s/VERSION/$(VERSION)/g" < $$f > $(DESTDIR)$(MANPREFIX)/man1/$$f; done uninstall: - cd $(DESTDIR)$(PREFIX)/bin && rm -f $(BIN) $(SCRIPTS) + cd $(DESTDIR)$(PREFIX)/bin && rm -f $(BIN) $(GUI) cd $(DESTDIR)$(MANPREFIX)/man1 && rm -f $(MAN) clean: @@ -45,7 +46,7 @@ clean: dist: mkdir -p $(NAME)-$(VERSION) - cp $(SRC) $(SCRIPTS) $(DOC) util.h util.c Makefile config.mk $(NAME)-$(VERSION) + cp $(SRC) $(GUI) $(EXTRAS) $(DOC) util.h util.c Makefile config.mk $(NAME)-$(VERSION) 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