diff options
author | Nick White <git@njw.me.uk> | 2011-10-30 12:29:45 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-10-30 12:29:45 +0000 |
commit | cd0c0a821361f5ee7c52ee60fb0ed5b758e53620 (patch) | |
tree | d9bc0c72dc2447c9ac3b4edc68081348b36ba64e /Makefile | |
parent | 82908257a64d4fd67785c76ab33b0392bc9d9724 (diff) |
Add ocr pdf script
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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) |