summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9783cb1)
raw | patch | inline | side by side (parent: 9783cb1)
author | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 8 Jun 2006 02:33:07 +0000 (04:33 +0200) | ||
committer | Jonas Fonseca <fonseca@antimatter.localdomain> | |
Thu, 8 Jun 2006 02:33:07 +0000 (04:33 +0200) |
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index ebac3dfb42af98ce6da3a02880cddea7d852bb07..7bebefd44aea8618905302b3f88c387714e6a792 100644 (file)
--- a/Makefile
+++ b/Makefile
prefix = $(HOME)
bindir= $(prefix)/bin
mandir = $(prefix)/man
+docdir = $(prefix)/share/doc
# DESTDIR=
LDLIBS = -lcurses
done
install-doc: doc
- mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
+ mkdir -p $(DESTDIR)$(mandir)/man1 \
+ $(DESTDIR)$(mandir)/man5 \
+ $(DESTDIR)$(docdir)/tig
for doc in $(DOCS); do \
case "$$doc" in \
*.1) install $$doc $(DESTDIR)$(mandir)/man1 ;; \
*.5) install $$doc $(DESTDIR)$(mandir)/man5 ;; \
+ *.html) install $$doc $(DESTDIR)$(docdir)/tig ;; \
esac \
done