Signed-off-by: Daniel White <daniel@whitehouse.id.au>
DOC_MAN1=$(patsubst %.txt,%.1,$(MAN1_TXT))
prefix?=$(HOME)
DOC_MAN1=$(patsubst %.txt,%.1,$(MAN1_TXT))
prefix?=$(HOME)
+htmldir?=$(prefix)/share/doc/stgit
mandir?=$(prefix)/share/man
man1dir=$(mandir)/man1
# DESTDIR=
mandir?=$(prefix)/share/man
man1dir=$(mandir)/man1
# DESTDIR=
install: man
$(INSTALL) -d -m755 $(DESTDIR)$(man1dir)
$(INSTALL) -m644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
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.
#
#
# Determine "include::" file references in asciidoc files.
#
install-doc:
$(MAKE) -C Documentation install
install-doc:
$(MAKE) -C Documentation install
+install-html:
+ $(MAKE) -C Documentation install-html
+
test:
cd t && $(MAKE) all
test:
cd t && $(MAKE) all
tags:
ctags -e -R stgit/*
tags:
ctags -e -R stgit/*
-.PHONY: all install doc install-doc test test_patches clean
+.PHONY: all install doc install-doc install-html test test_patches clean