Documentation: move dblatex arguments into variable
[git/git.git] / Documentation / Makefile
CommitLineData
a617578d
JK
1# Guard against environment variables
2MAN1_TXT =
3MAN5_TXT =
4MAN7_TXT =
43cc5ce9
JH
5TECH_DOCS =
6ARTICLES =
7SP_ARTICLES =
5a568ea0 8OBSOLETE_HTML =
a617578d
JK
9
10MAN1_TXT += $(filter-out \
11 $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
12 $(wildcard git-*.txt))
13MAN1_TXT += git.txt
14MAN1_TXT += gitk.txt
b9a5f681 15MAN1_TXT += gitremote-helpers.txt
a617578d
JK
16MAN1_TXT += gitweb.txt
17
18MAN5_TXT += gitattributes.txt
19MAN5_TXT += githooks.txt
20MAN5_TXT += gitignore.txt
21MAN5_TXT += gitmodules.txt
22MAN5_TXT += gitrepository-layout.txt
23MAN5_TXT += gitweb.conf.txt
24
25MAN7_TXT += gitcli.txt
26MAN7_TXT += gitcore-tutorial.txt
a6fc9fd3 27MAN7_TXT += gitcredentials.txt
a617578d
JK
28MAN7_TXT += gitcvs-migration.txt
29MAN7_TXT += gitdiffcore.txt
673151a9 30MAN7_TXT += giteveryday.txt
a617578d
JK
31MAN7_TXT += gitglossary.txt
32MAN7_TXT += gitnamespaces.txt
33MAN7_TXT += gitrevisions.txt
34MAN7_TXT += gittutorial-2.txt
35MAN7_TXT += gittutorial.txt
36MAN7_TXT += gitworkflows.txt
b790abb8 37
5cefc33b 38MAN_TXT = $(MAN1_TXT) $(MAN5_TXT) $(MAN7_TXT)
692cfd6b
JK
39MAN_XML = $(patsubst %.txt,%.xml,$(MAN_TXT))
40MAN_HTML = $(patsubst %.txt,%.html,$(MAN_TXT))
5cefc33b 41
673151a9 42OBSOLETE_HTML += everyday.html
5a568ea0 43OBSOLETE_HTML += git-remote-helpers.html
692cfd6b 44DOC_HTML = $(MAN_HTML) $(OBSOLETE_HTML)
8db9307c 45
43cc5ce9 46ARTICLES += howto-index
4a5d6939 47ARTICLES += git-tools
69a9cd31 48ARTICLES += git-bisect-lk2009
8db9307c 49# with their own formatting rules.
43cc5ce9 50SP_ARTICLES += user-manual
81670e9b 51SP_ARTICLES += howto/new-command
11b17afc
JH
52SP_ARTICLES += howto/revert-branch-rebase
53SP_ARTICLES += howto/using-merge-subtree
54SP_ARTICLES += howto/using-signed-tag-in-pull-request
5e00439f
TA
55SP_ARTICLES += howto/use-git-daemon
56SP_ARTICLES += howto/update-hook-example
57SP_ARTICLES += howto/setup-git-server-over-http
58SP_ARTICLES += howto/separating-topic-branches
59SP_ARTICLES += howto/revert-a-faulty-merge
60SP_ARTICLES += howto/recover-corrupted-blob-object
41dfbb2d 61SP_ARTICLES += howto/recover-corrupted-object-harder
5e00439f 62SP_ARTICLES += howto/rebuild-from-update-hook
5e00439f 63SP_ARTICLES += howto/rebase-from-internal-branch
0678b649 64SP_ARTICLES += howto/keep-canonical-history-correct
5e00439f 65SP_ARTICLES += howto/maintain-git
530e741c
JH
66API_DOCS = $(patsubst %.txt,%,$(filter-out technical/api-index-skel.txt technical/api-index.txt, $(wildcard technical/api-*.txt)))
67SP_ARTICLES += $(API_DOCS)
5e00439f 68
43cc5ce9 69TECH_DOCS += technical/http-protocol
586aa786 70TECH_DOCS += technical/index-format
5e00439f
TA
71TECH_DOCS += technical/pack-format
72TECH_DOCS += technical/pack-heuristics
73TECH_DOCS += technical/pack-protocol
74TECH_DOCS += technical/protocol-capabilities
75TECH_DOCS += technical/protocol-common
76TECH_DOCS += technical/racy-git
77TECH_DOCS += technical/send-pack-pipeline
78TECH_DOCS += technical/shallow
76f9d8ba 79TECH_DOCS += technical/signature-format
5e00439f
TA
80TECH_DOCS += technical/trivial-merge
81SP_ARTICLES += $(TECH_DOCS)
530e741c 82SP_ARTICLES += technical/api-index
8db9307c
JH
83
84DOC_HTML += $(patsubst %,%.html,$(ARTICLES) $(SP_ARTICLES))
789d5774 85
692cfd6b
JK
86DOC_MAN1 = $(patsubst %.txt,%.1,$(MAN1_TXT))
87DOC_MAN5 = $(patsubst %.txt,%.5,$(MAN5_TXT))
88DOC_MAN7 = $(patsubst %.txt,%.7,$(MAN7_TXT))
b2bf34d6 89
692cfd6b
JK
90prefix ?= $(HOME)
91bindir ?= $(prefix)/bin
92htmldir ?= $(prefix)/share/doc/git-doc
e21db2c6 93infodir ?= $(prefix)/share/info
692cfd6b
JK
94pdfdir ?= $(prefix)/share/doc/git-doc
95mandir ?= $(prefix)/share/man
96man1dir = $(mandir)/man1
97man5dir = $(mandir)/man5
98man7dir = $(mandir)/man7
99# DESTDIR =
87a81c83 100
dd4f3075 101ASCIIDOC = asciidoc
26cfcfbf 102ASCIIDOC_EXTRA =
7d61547d 103ASCIIDOC_HTML = xhtml11
104ASCIIDOC_DOCBOOK = docbook
105ASCIIDOC_CONF = -f asciidoc.conf
da8a3664 106ASCIIDOC_COMMON = $(ASCIIDOC) $(ASCIIDOC_EXTRA) $(ASCIIDOC_CONF) \
a4c04448 107 -agit_version=$(GIT_VERSION)
da8a3664 108TXT_TO_HTML = $(ASCIIDOC_COMMON) -b $(ASCIIDOC_HTML)
109TXT_TO_XML = $(ASCIIDOC_COMMON) -b $(ASCIIDOC_DOCBOOK)
c30e9485 110MANPAGE_XSL = manpage-normal.xsl
dd4f3075 111XMLTO = xmlto
5121a6d9 112XMLTO_EXTRA =
692cfd6b 113INSTALL ?= install
4cb08df5 114RM ?= rm -f
fcbebfdd
JH
115MAN_REPO = ../../git-manpages
116HTML_REPO = ../../git-htmldocs
87a81c83 117
692cfd6b
JK
118MAKEINFO = makeinfo
119INSTALL_INFO = install-info
120DOCBOOK2X_TEXI = docbook2x-texi
121DBLATEX = dblatex
0079d6eb 122ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
ae4e3e8d 123DBLATEX_COMMON = -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty
c680dd83
JH
124ifndef PERL_PATH
125 PERL_PATH = /usr/bin/perl
126endif
4739809c 127
95676853 128-include ../config.mak.autogen
4fa96e15 129-include ../config.mak
95676853 130
8fa2b45f
CJ
131#
132# For docbook-xsl ...
79c461d5
JK
133# -1.68.1, no extra settings are needed?
134# 1.69.0, set ASCIIDOC_ROFF?
2346431e 135# 1.69.1-1.71.0, set DOCBOOK_SUPPRESS_SP?
79c461d5 136# 1.71.1, set ASCIIDOC_ROFF?
8fa2b45f 137# 1.72.0, set DOCBOOK_XSL_172.
79c461d5 138# 1.73.0-, no extra settings are needed
8fa2b45f
CJ
139#
140
7f55cf45 141ifdef DOCBOOK_XSL_172
8fa2b45f 142ASCIIDOC_EXTRA += -a git-asciidoc-no-roff
7a2078b4 143MANPAGE_XSL = manpage-1.72.xsl
8fa2b45f 144else
79c461d5 145 ifndef ASCIIDOC_ROFF
8fa2b45f
CJ
146 # docbook-xsl after 1.72 needs the regular XSL, but will not
147 # pass-thru raw roff codes from asciidoc.conf, so turn them off.
148 ASCIIDOC_EXTRA += -a git-asciidoc-no-roff
149 endif
7f55cf45 150endif
59457170 151ifndef NO_MAN_BOLD_LITERAL
5121a6d9
CJ
152XMLTO_EXTRA += -m manpage-bold-literal.xsl
153endif
2346431e
CJ
154ifdef DOCBOOK_SUPPRESS_SP
155XMLTO_EXTRA += -m manpage-suppress-sp.xsl
156endif
7f55cf45 157
8dd35c71 158# Newer DocBook stylesheet emits warning cruft in the output when
50d9bbba
TZ
159# this is not set, and if set it shows an absolute link. Older
160# stylesheets simply ignore this parameter.
59a0a0bd 161#
50d9bbba
TZ
162# Distros may want to use MAN_BASE_URL=file:///path/to/git/docs/
163# or similar.
164ifndef MAN_BASE_URL
165MAN_BASE_URL = file://$(htmldir)/
59a0a0bd 166endif
50d9bbba 167XMLTO_EXTRA += -m manpage-base-url.xsl
a479a564 168
204d363f
TR
169# If your target system uses GNU groff, it may try to render
170# apostrophes as a "pretty" apostrophe using unicode. This breaks
171# cut&paste, so you should set GNU_ROFF to force them to be ASCII
172# apostrophes. Unfortunately does not work with non-GNU roff.
173ifdef GNU_ROFF
174XMLTO_EXTRA += -m manpage-quote-apos.xsl
175endif
176
ee7ec2f9
BW
177SHELL_PATH ?= $(SHELL)
178# Shell quote;
179SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
180
5b58619a
JN
181ifdef DEFAULT_PAGER
182DEFAULT_PAGER_SQ = $(subst ','\'',$(DEFAULT_PAGER))
183ASCIIDOC_EXTRA += -a 'git-default-pager=$(DEFAULT_PAGER_SQ)'
184endif
185
186ifdef DEFAULT_EDITOR
187DEFAULT_EDITOR_SQ = $(subst ','\'',$(DEFAULT_EDITOR))
188ASCIIDOC_EXTRA += -a 'git-default-editor=$(DEFAULT_EDITOR_SQ)'
189endif
190
bb230097
CJ
191QUIET_SUBDIR0 = +$(MAKE) -C # space to separate -C and subdir
192QUIET_SUBDIR1 =
193
194ifneq ($(findstring $(MAKEFLAGS),w),w)
195PRINT_DIR = --no-print-directory
196else # "make -w"
197NO_SUBDIR = :
198endif
199
200ifneq ($(findstring $(MAKEFLAGS),s),s)
201ifndef V
202 QUIET_ASCIIDOC = @echo ' ' ASCIIDOC $@;
203 QUIET_XMLTO = @echo ' ' XMLTO $@;
204 QUIET_DB2TEXI = @echo ' ' DB2TEXI $@;
205 QUIET_MAKEINFO = @echo ' ' MAKEINFO $@;
206 QUIET_DBLATEX = @echo ' ' DBLATEX $@;
207 QUIET_XSLTPROC = @echo ' ' XSLTPROC $@;
208 QUIET_GEN = @echo ' ' GEN $@;
ab81411c 209 QUIET_LINT = @echo ' ' LINT $@;
bb230097
CJ
210 QUIET_STDERR = 2> /dev/null
211 QUIET_SUBDIR0 = +@subdir=
212 QUIET_SUBDIR1 = ;$(NO_SUBDIR) echo ' ' SUBDIR $$subdir; \
213 $(MAKE) $(PRINT_DIR) -C $$subdir
214 export V
215endif
216endif
217
b2bf34d6 218all: html man
b790abb8
DG
219
220html: $(DOC_HTML)
221
4392da4d 222man: man1 man5 man7
b2bf34d6 223man1: $(DOC_MAN1)
4392da4d 224man5: $(DOC_MAN5)
b2bf34d6 225man7: $(DOC_MAN7)
b790abb8 226
5cefc33b 227info: git.info gitman.info
4739809c 228
a325a1a7
MV
229pdf: user-manual.pdf
230
b1a46b70
MH
231install: install-man
232
233install-man: man
41650765
RS
234 $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
235 $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
236 $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir)
237 $(INSTALL) -m 644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
238 $(INSTALL) -m 644 $(DOC_MAN5) $(DESTDIR)$(man5dir)
239 $(INSTALL) -m 644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
87a81c83 240
4739809c 241install-info: info
41650765 242 $(INSTALL) -d -m 755 $(DESTDIR)$(infodir)
5cefc33b 243 $(INSTALL) -m 644 git.info gitman.info $(DESTDIR)$(infodir)
4739809c
DK
244 if test -r $(DESTDIR)$(infodir)/dir; then \
245 $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) git.info ;\
5cefc33b 246 $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) gitman.info ;\
4739809c
DK
247 else \
248 echo "No directory found in $(DESTDIR)$(infodir)" >&2 ; \
249 fi
37465016 250
a325a1a7
MV
251install-pdf: pdf
252 $(INSTALL) -d -m 755 $(DESTDIR)$(pdfdir)
253 $(INSTALL) -m 644 user-manual.pdf $(DESTDIR)$(pdfdir)
254
5d6491c7 255install-html: html
ee7ec2f9 256 '$(SHELL_PATH_SQ)' ./install-webdoc.sh $(DESTDIR)$(htmldir)
5d6491c7 257
13fca9f3 258../GIT-VERSION-FILE: FORCE
bb230097 259 $(QUIET_SUBDIR0)../ $(QUIET_SUBDIR1) GIT-VERSION-FILE
7b8a74f3
FL
260
261-include ../GIT-VERSION-FILE
262
93d69d86
JL
263#
264# Determine "include::" file references in asciidoc files.
265#
f35ec546
DA
266docdep_prereqs = \
267 mergetools-list.made $(mergetools_txt) \
268 cmd-list.made $(cmds_txt)
269
270doc.dep : $(docdep_prereqs) $(wildcard *.txt) build-docdep.perl
bb230097
CJ
271 $(QUIET_GEN)$(RM) $@+ $@ && \
272 $(PERL_PATH) ./build-docdep.perl >$@+ $(QUIET_STDERR) && \
a5ae8e64 273 mv $@+ $@
93d69d86 274
a5ae8e64 275-include doc.dep
37465016 276
72fe6a59
JH
277cmds_txt = cmds-ancillaryinterrogators.txt \
278 cmds-ancillarymanipulators.txt \
279 cmds-mainporcelain.txt \
280 cmds-plumbinginterrogators.txt \
281 cmds-plumbingmanipulators.txt \
89bf2077
JH
282 cmds-synchingrepositories.txt \
283 cmds-synchelpers.txt \
284 cmds-purehelpers.txt \
285 cmds-foreignscminterface.txt
72fe6a59 286
d7907392
JH
287$(cmds_txt): cmd-list.made
288
79d30668 289cmd-list.made: cmd-list.perl ../command-list.txt $(MAN1_TXT)
bb230097
CJ
290 $(QUIET_GEN)$(RM) $@ && \
291 $(PERL_PATH) ./cmd-list.perl ../command-list.txt $(QUIET_STDERR) && \
d7907392 292 date >$@
b790abb8 293
f35ec546
DA
294mergetools_txt = mergetools-diff.txt mergetools-merge.txt
295
296$(mergetools_txt): mergetools-list.made
297
298mergetools-list.made: ../git-mergetool--lib.sh $(wildcard ../mergetools/*)
299 $(QUIET_GEN)$(RM) $@ && \
300 $(SHELL_PATH) -c 'MERGE_TOOLS_DIR=../mergetools && \
301 . ../git-mergetool--lib.sh && \
302 show_tool_names can_diff "* " || :' >mergetools-diff.txt && \
303 $(SHELL_PATH) -c 'MERGE_TOOLS_DIR=../mergetools && \
304 . ../git-mergetool--lib.sh && \
305 show_tool_names can_merge "* " || :' >mergetools-merge.txt && \
306 date >$@
307
b790abb8 308clean:
4c785e50 309 $(RM) *.xml *.xml+ *.html *.html+ *.1 *.5 *.7
c6a5ad21 310 $(RM) *.texi *.texi+ *.texi++ git.info gitman.info
ae8044a2 311 $(RM) *.pdf
530e741c 312 $(RM) howto-index.txt howto/*.html doc.dep
5e00439f 313 $(RM) technical/*.html technical/api-index.txt
f35ec546 314 $(RM) $(cmds_txt) $(mergetools_txt) *.made
50d9bbba 315 $(RM) manpage-base-url.xsl
b790abb8 316
fdb04244 317$(MAN_HTML): %.html : %.txt asciidoc.conf
bb230097 318 $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
da8a3664 319 $(TXT_TO_HTML) -d manpage -o $@+ $< && \
7b8a74f3 320 mv $@+ $@
b790abb8 321
bd4a3d61
JK
322$(OBSOLETE_HTML): %.html : %.txto asciidoc.conf
323 $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
da8a3664 324 $(TXT_TO_HTML) -o $@+ $< && \
bd4a3d61
JK
325 mv $@+ $@
326
50d9bbba
TZ
327manpage-base-url.xsl: manpage-base-url.xsl.in
328 sed "s|@@MAN_BASE_URL@@|$(MAN_BASE_URL)|" $< > $@
329
330%.1 %.5 %.7 : %.xml manpage-base-url.xsl
bb230097 331 $(QUIET_XMLTO)$(RM) $@ && \
dd4f3075 332 $(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<
b790abb8 333
fdb04244 334%.xml : %.txt asciidoc.conf
bb230097 335 $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
da8a3664 336 $(TXT_TO_XML) -d manpage -o $@+ $< && \
7b8a74f3 337 mv $@+ $@
3f971fc4 338
d19fbc3c 339user-manual.xml: user-manual.txt user-manual.conf
f9dae0d3 340 $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
da8a3664 341 $(TXT_TO_XML) -d article -o $@+ $< && \
f9dae0d3 342 mv $@+ $@
d19fbc3c 343
530e741c
JH
344technical/api-index.txt: technical/api-index-skel.txt \
345 technical/api-index.sh $(patsubst %,%.txt,$(API_DOCS))
ee7ec2f9 346 $(QUIET_GEN)cd technical && '$(SHELL_PATH_SQ)' ./api-index.sh
530e741c 347
fe77b416 348technical/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../
fdb04244 349$(patsubst %,%.html,$(API_DOCS) technical/api-index $(TECH_DOCS)): %.html : %.txt asciidoc.conf
da8a3664 350 $(QUIET_ASCIIDOC)$(TXT_TO_HTML) $*.txt
530e741c 351
1cffddd6 352XSLT = docbook.xsl
0a3985dc 353XSLTOPTS = --xinclude --stringparam html.stylesheet docbook-xsl.css
1c95c565 354
f2aff316 355user-manual.html: user-manual.xml $(XSLT)
f9dae0d3
JN
356 $(QUIET_XSLTPROC)$(RM) $@+ $@ && \
357 xsltproc $(XSLTOPTS) -o $@+ $(XSLT) $< && \
358 mv $@+ $@
d19fbc3c 359
50b3555c 360git.info: user-manual.texi
bb230097 361 $(QUIET_MAKEINFO)$(MAKEINFO) --no-split -o $@ user-manual.texi
5cefc33b 362
50b3555c 363user-manual.texi: user-manual.xml
bb230097 364 $(QUIET_DB2TEXI)$(RM) $@+ $@ && \
c6a5ad21
CJ
365 $(DOCBOOK2X_TEXI) user-manual.xml --encoding=UTF-8 --to-stdout >$@++ && \
366 $(PERL_PATH) fix-texi.perl <$@++ >$@+ && \
367 rm $@++ && \
5cefc33b
JH
368 mv $@+ $@
369
a325a1a7 370user-manual.pdf: user-manual.xml
bb230097 371 $(QUIET_DBLATEX)$(RM) $@+ $@ && \
ae4e3e8d 372 $(DBLATEX) -o $@+ $(DBLATEX_COMMON) $< && \
a325a1a7
MV
373 mv $@+ $@
374
95e5efc6 375gitman.texi: $(MAN_XML) cat-texi.perl texi.xsl
bb230097 376 $(QUIET_DB2TEXI)$(RM) $@+ $@ && \
95e5efc6 377 ($(foreach xml,$(sort $(MAN_XML)),xsltproc -o $(xml)+ texi.xsl $(xml) && \
378 $(DOCBOOK2X_TEXI) --encoding=UTF-8 --to-stdout $(xml)+ && \
379 rm $(xml)+ &&) true) > $@++ && \
c6a5ad21
CJ
380 $(PERL_PATH) cat-texi.perl $@ <$@++ >$@+ && \
381 rm $@++ && \
5cefc33b
JH
382 mv $@+ $@
383
384gitman.info: gitman.texi
bb230097 385 $(QUIET_MAKEINFO)$(MAKEINFO) --no-split --no-validate $*.texi
5cefc33b
JH
386
387$(patsubst %.txt,%.texi,$(MAN_TXT)): %.texi : %.xml
bb230097
CJ
388 $(QUIET_DB2TEXI)$(RM) $@+ $@ && \
389 $(DOCBOOK2X_TEXI) --to-stdout $*.xml >$@+ && \
5cefc33b 390 mv $@+ $@
4739809c 391
e6fc2346 392howto-index.txt: howto-index.sh $(wildcard howto/*.txt)
bb230097 393 $(QUIET_GEN)$(RM) $@+ $@ && \
854dfda8 394 '$(SHELL_PATH_SQ)' ./howto-index.sh $(sort $(wildcard howto/*.txt)) >$@+ && \
e6fc2346
JH
395 mv $@+ $@
396
8db9307c 397$(patsubst %,%.html,$(ARTICLES)) : %.html : %.txt
da8a3664 398 $(QUIET_ASCIIDOC)$(TXT_TO_HTML) $*.txt
e6fc2346
JH
399
400WEBDOC_DEST = /pub/software/scm/git/docs
401
fe77b416 402howto/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../
8d0991d7 403$(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
bb230097 404 $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
7d61547d 405 sed -e '1,/^$$/d' $< | \
da8a3664 406 $(TXT_TO_HTML) - >$@+ && \
8d0991d7
JH
407 mv $@+ $@
408
e6fc2346 409install-webdoc : html
ee7ec2f9 410 '$(SHELL_PATH_SQ)' ./install-webdoc.sh $(WEBDOC_DEST)
6538d1ef 411
2de9b711
TA
412# You must have a clone of 'git-htmldocs' and 'git-manpages' repositories
413# next to the 'git' repository itself for the following to work.
fcbebfdd 414
b1a46b70
MH
415quick-install: quick-install-man
416
fcbebfdd
JH
417require-manrepo::
418 @if test ! -d $(MAN_REPO); \
419 then echo "git-manpages repository must exist at $(MAN_REPO)"; exit 1; fi
420
421quick-install-man: require-manrepo
422 '$(SHELL_PATH_SQ)' ./install-doc-quick.sh $(MAN_REPO) $(DESTDIR)$(mandir)
423
424require-htmlrepo::
425 @if test ! -d $(HTML_REPO); \
426 then echo "git-htmldocs repository must exist at $(HTML_REPO)"; exit 1; fi
7b8a74f3 427
fcbebfdd
JH
428quick-install-html: require-htmlrepo
429 '$(SHELL_PATH_SQ)' ./install-doc-quick.sh $(HTML_REPO) $(DESTDIR)$(htmldir)
6fe570de 430
5fafce0b
JK
431print-man1:
432 @for i in $(MAN1_TXT); do echo $$i; done
433
ab81411c
JH
434lint-docs::
435 $(QUIET_LINT)$(PERL_PATH) lint-gitlink.perl
436
13fca9f3 437.PHONY: FORCE