X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2FMakefile;h=3cfa360a9e4876286bfb37230daca6af8c799725;hb=29504118f8528f658fd0bfc02d8d78d4c01dc2cc;hp=01fad8ea5d0867fa32b03a0e9b77383201b6a41b;hpb=b163512d4eb36ee946908b682c7863658c5a8db4;p=git.git diff --git a/Documentation/Makefile b/Documentation/Makefile index 01fad8ea..3cfa360a 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -17,14 +17,14 @@ DOC_HTML += $(patsubst %,%.html,$(ARTICLES) $(SP_ARTICLES)) DOC_MAN1=$(patsubst %.txt,%.1,$(MAN1_TXT)) DOC_MAN7=$(patsubst %.txt,%.7,$(MAN7_TXT)) -prefix=$(HOME) +prefix?=$(HOME) bin=$(prefix)/bin mandir=$(prefix)/man man1=$(mandir)/man1 man7=$(mandir)/man7 # DESTDIR= -INSTALL=install +INSTALL?=install # # Please note that there is a minor bug in asciidoc. @@ -53,19 +53,22 @@ install: man $(patsubst %.txt,%.1,$(wildcard git-diff-*.txt)): \ diff-format.txt diff-options.txt $(patsubst %,%.1,git-fetch git-pull git-push): pull-fetch-param.txt +$(patsubst %.txt,%.html,$(wildcard git-diff-*.txt)): \ + diff-format.txt diff-options.txt +$(patsubst %,%.html,git-fetch git-pull git-push): pull-fetch-param.txt git.7: ../README clean: rm -f *.xml *.html *.1 *.7 howto-index.txt howto/*.html %.html : %.txt - asciidoc -b xhtml11 -d manpage $< + asciidoc -b xhtml11 -d manpage -f asciidoc.conf $< %.1 %.7 : %.xml xmlto man $< %.xml : %.txt - asciidoc -b docbook -d manpage $< + asciidoc -b docbook -d manpage -f asciidoc.conf $< git.html: git.txt ../README