From: Jonas Fonseca Date: Thu, 8 Jun 2006 02:33:07 +0000 (+0200) Subject: Install HTML files into $(prefix)/share/doc/tig X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bb8afc29c6f37d7d7300669d0d24af444c34c204;p=tig.git Install HTML files into $(prefix)/share/doc/tig --- diff --git a/Makefile b/Makefile index ebac3df..7bebefd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ prefix = $(HOME) bindir= $(prefix)/bin mandir = $(prefix)/man +docdir = $(prefix)/share/doc # DESTDIR= LDLIBS = -lcurses @@ -27,11 +28,14 @@ install: all 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