From bb8afc29c6f37d7d7300669d0d24af444c34c204 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Thu, 8 Jun 2006 04:33:07 +0200 Subject: [PATCH] Install HTML files into $(prefix)/share/doc/tig --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.30.2