X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/491c9d5aa93938e89cbf97f30192e88e39935e3e..1c2426dc0bff311e5cba2ba12a1b6492553135b9:/Documentation/Makefile diff --git a/Documentation/Makefile b/Documentation/Makefile index d4189b9..c53c4af 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -12,6 +12,7 @@ DOC_PDF += $(patsubst %,%.pdf,$(ARTICLES) $(SP_ARTICLES)) DOC_MAN1=$(patsubst %.txt,%.1,$(MAN1_TXT)) prefix?=$(HOME) +htmldir?=$(prefix)/share/doc/stgit mandir?=$(prefix)/share/man man1dir=$(mandir)/man1 # DESTDIR= @@ -41,6 +42,10 @@ man1: $(DOC_MAN1) install: man $(INSTALL) -d -m755 $(DESTDIR)$(man1dir) $(INSTALL) -m644 $(DOC_MAN1) $(DESTDIR)$(man1dir) + +install-html: html + $(INSTALL) -d -m755 $(DESTDIR)$(htmldir) + $(INSTALL) -m644 $(DOC_HTML) $(DESTDIR)$(htmldir) # # Determine "include::" file references in asciidoc files. #