summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-04-21 19:07:31 +0100
committerNick White <git@njw.me.uk>2012-04-21 19:07:31 +0100
commit1505d032034774a7e98fd51a47612797b25d581a (patch)
tree0b5d9aa2a646e0aea1fe5cdb5b8bc3a7ba3bc268 /Makefile
parent075341569666c075ef9e64570d23937c5065c74d (diff)
Add manpage for gui, and update other manpages slightly
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 23f4026..19afb04 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ DOC = README COPYING INSTALL LEGAL
EXTRAS = extras/mkpdf.sh extras/mkocrpdf.sh extras/mkdjvu.sh extras/mkocrtxt.sh extras/mkocrdjvu.sh
BIN = $(SRC:.c=)
-MAN = $(SRC:.c=.1)
+MAN = $(SRC:.c=.1) $(GUI:.tcl=.1)
OBJ = $(SRC:.c=.o) $(LIB)
all: $(BIN)
@@ -35,7 +35,7 @@ install: all
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
sed "s:^set iconpath .*:set iconpath \"$(DESTDIR)$(PREFIX)/share/$(NAME)\":" < $(GUI) \
- > $(DESTDIR)$(PREFIX)/bin/getxbookgui
+ > $(DESTDIR)$(PREFIX)/bin/$(GUI:.tcl=)
chmod +x $(DESTDIR)$(PREFIX)/bin/getxbookgui
mkdir -p $(DESTDIR)$(PREFIX)/share/$(NAME)
cp icons/* $(DESTDIR)$(PREFIX)/share/$(NAME)/