Merge branch 'tb/cruft-packs'
[git/debian.git] / Documentation / Makefile
blobf2e7fc1daa5f95696510cd38d689a119fd5f2a72
1 # Import tree-wide shared Makefile behavior and libraries
2 include ../shared.mak
4 # Guard against environment variables
5 MAN1_TXT =
6 MAN5_TXT =
7 MAN7_TXT =
8 HOWTO_TXT =
9 DOC_DEP_TXT =
10 TECH_DOCS =
11 ARTICLES =
12 SP_ARTICLES =
13 OBSOLETE_HTML =
15 -include GIT-EXCLUDED-PROGRAMS
17 MAN1_TXT += $(filter-out \
18 $(patsubst %,%.txt,$(EXCLUDED_PROGRAMS)) \
19 $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
20 $(wildcard git-*.txt))
21 MAN1_TXT += git.txt
22 MAN1_TXT += gitk.txt
23 MAN1_TXT += gitweb.txt
25 # man5 / man7 guides (note: new guides should also be added to command-list.txt)
26 MAN5_TXT += gitattributes.txt
27 MAN5_TXT += githooks.txt
28 MAN5_TXT += gitignore.txt
29 MAN5_TXT += gitmailmap.txt
30 MAN5_TXT += gitmodules.txt
31 MAN5_TXT += gitrepository-layout.txt
32 MAN5_TXT += gitweb.conf.txt
34 MAN7_TXT += gitcli.txt
35 MAN7_TXT += gitcore-tutorial.txt
36 MAN7_TXT += gitcredentials.txt
37 MAN7_TXT += gitcvs-migration.txt
38 MAN7_TXT += gitdiffcore.txt
39 MAN7_TXT += giteveryday.txt
40 MAN7_TXT += gitfaq.txt
41 MAN7_TXT += gitglossary.txt
42 MAN7_TXT += gitnamespaces.txt
43 MAN7_TXT += gitremote-helpers.txt
44 MAN7_TXT += gitrevisions.txt
45 MAN7_TXT += gitsubmodules.txt
46 MAN7_TXT += gittutorial-2.txt
47 MAN7_TXT += gittutorial.txt
48 MAN7_TXT += gitworkflows.txt
50 HOWTO_TXT += $(wildcard howto/*.txt)
52 DOC_DEP_TXT += $(wildcard *.txt)
53 DOC_DEP_TXT += $(wildcard config/*.txt)
55 ifdef MAN_FILTER
56 MAN_TXT = $(filter $(MAN_FILTER),$(MAN1_TXT) $(MAN5_TXT) $(MAN7_TXT))
57 else
58 MAN_TXT = $(MAN1_TXT) $(MAN5_TXT) $(MAN7_TXT)
59 MAN_FILTER = $(MAN_TXT)
60 endif
62 MAN_XML = $(patsubst %.txt,%.xml,$(MAN_TXT))
63 MAN_HTML = $(patsubst %.txt,%.html,$(MAN_TXT))
64 GIT_MAN_REF = master
66 OBSOLETE_HTML += everyday.html
67 OBSOLETE_HTML += git-remote-helpers.html
69 ARTICLES += howto-index
70 ARTICLES += git-tools
71 ARTICLES += git-bisect-lk2009
72 # with their own formatting rules.
73 SP_ARTICLES += user-manual
74 SP_ARTICLES += howto/new-command
75 SP_ARTICLES += howto/revert-branch-rebase
76 SP_ARTICLES += howto/using-merge-subtree
77 SP_ARTICLES += howto/using-signed-tag-in-pull-request
78 SP_ARTICLES += howto/use-git-daemon
79 SP_ARTICLES += howto/update-hook-example
80 SP_ARTICLES += howto/setup-git-server-over-http
81 SP_ARTICLES += howto/separating-topic-branches
82 SP_ARTICLES += howto/revert-a-faulty-merge
83 SP_ARTICLES += howto/recover-corrupted-blob-object
84 SP_ARTICLES += howto/recover-corrupted-object-harder
85 SP_ARTICLES += howto/rebuild-from-update-hook
86 SP_ARTICLES += howto/rebase-from-internal-branch
87 SP_ARTICLES += howto/keep-canonical-history-correct
88 SP_ARTICLES += howto/maintain-git
89 SP_ARTICLES += howto/coordinate-embargoed-releases
90 API_DOCS = $(patsubst %.txt,%,$(filter-out technical/api-index-skel.txt technical/api-index.txt, $(wildcard technical/api-*.txt)))
91 SP_ARTICLES += $(API_DOCS)
93 TECH_DOCS += MyFirstContribution
94 TECH_DOCS += MyFirstObjectWalk
95 TECH_DOCS += SubmittingPatches
96 TECH_DOCS += ToolsForGit
97 TECH_DOCS += technical/bundle-format
98 TECH_DOCS += technical/cruft-packs
99 TECH_DOCS += technical/hash-function-transition
100 TECH_DOCS += technical/http-protocol
101 TECH_DOCS += technical/index-format
102 TECH_DOCS += technical/long-running-process-protocol
103 TECH_DOCS += technical/multi-pack-index
104 TECH_DOCS += technical/pack-format
105 TECH_DOCS += technical/pack-heuristics
106 TECH_DOCS += technical/pack-protocol
107 TECH_DOCS += technical/parallel-checkout
108 TECH_DOCS += technical/partial-clone
109 TECH_DOCS += technical/protocol-capabilities
110 TECH_DOCS += technical/protocol-common
111 TECH_DOCS += technical/protocol-v2
112 TECH_DOCS += technical/racy-git
113 TECH_DOCS += technical/reftable
114 TECH_DOCS += technical/send-pack-pipeline
115 TECH_DOCS += technical/shallow
116 TECH_DOCS += technical/signature-format
117 TECH_DOCS += technical/trivial-merge
118 SP_ARTICLES += $(TECH_DOCS)
119 SP_ARTICLES += technical/api-index
121 ARTICLES_HTML += $(patsubst %,%.html,$(ARTICLES) $(SP_ARTICLES))
122 HTML_FILTER ?= $(ARTICLES_HTML) $(OBSOLETE_HTML)
123 DOC_HTML = $(MAN_HTML) $(filter $(HTML_FILTER),$(ARTICLES_HTML) $(OBSOLETE_HTML))
125 DOC_MAN1 = $(patsubst %.txt,%.1,$(filter $(MAN_FILTER),$(MAN1_TXT)))
126 DOC_MAN5 = $(patsubst %.txt,%.5,$(filter $(MAN_FILTER),$(MAN5_TXT)))
127 DOC_MAN7 = $(patsubst %.txt,%.7,$(filter $(MAN_FILTER),$(MAN7_TXT)))
129 prefix ?= $(HOME)
130 bindir ?= $(prefix)/bin
131 htmldir ?= $(prefix)/share/doc/git-doc
132 infodir ?= $(prefix)/share/info
133 pdfdir ?= $(prefix)/share/doc/git-doc
134 mandir ?= $(prefix)/share/man
135 man1dir = $(mandir)/man1
136 man5dir = $(mandir)/man5
137 man7dir = $(mandir)/man7
138 # DESTDIR =
140 ASCIIDOC = asciidoc
141 ASCIIDOC_EXTRA =
142 ASCIIDOC_HTML = xhtml11
143 ASCIIDOC_DOCBOOK = docbook
144 ASCIIDOC_CONF = -f asciidoc.conf
145 ASCIIDOC_COMMON = $(ASCIIDOC) $(ASCIIDOC_EXTRA) $(ASCIIDOC_CONF) \
146 -amanversion=$(GIT_VERSION) \
147 -amanmanual='Git Manual' -amansource='Git'
148 ASCIIDOC_DEPS = asciidoc.conf GIT-ASCIIDOCFLAGS
149 TXT_TO_HTML = $(ASCIIDOC_COMMON) -b $(ASCIIDOC_HTML)
150 TXT_TO_XML = $(ASCIIDOC_COMMON) -b $(ASCIIDOC_DOCBOOK)
151 MANPAGE_XSL = manpage-normal.xsl
152 XMLTO = xmlto
153 XMLTO_EXTRA =
154 INSTALL ?= install
155 RM ?= rm -f
156 MAN_REPO = ../../git-manpages
157 HTML_REPO = ../../git-htmldocs
159 MAKEINFO = makeinfo
160 INSTALL_INFO = install-info
161 DOCBOOK2X_TEXI = docbook2x-texi
162 DBLATEX = dblatex
163 ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
164 DBLATEX_COMMON = -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty
165 ifndef PERL_PATH
166 PERL_PATH = /usr/bin/perl
167 endif
169 -include ../config.mak.autogen
170 -include ../config.mak
172 ifndef NO_MAN_BOLD_LITERAL
173 XMLTO_EXTRA += -m manpage-bold-literal.xsl
174 endif
176 # Newer DocBook stylesheet emits warning cruft in the output when
177 # this is not set, and if set it shows an absolute link. Older
178 # stylesheets simply ignore this parameter.
180 # Distros may want to use MAN_BASE_URL=file:///path/to/git/docs/
181 # or similar.
182 ifndef MAN_BASE_URL
183 MAN_BASE_URL = file://$(htmldir)/
184 endif
185 XMLTO_EXTRA += -m manpage-base-url.xsl
187 # If your target system uses GNU groff, it may try to render
188 # apostrophes as a "pretty" apostrophe using unicode. This breaks
189 # cut&paste, so you should set GNU_ROFF to force them to be ASCII
190 # apostrophes. Unfortunately does not work with non-GNU roff.
191 ifdef GNU_ROFF
192 XMLTO_EXTRA += -m manpage-quote-apos.xsl
193 endif
195 ifdef USE_ASCIIDOCTOR
196 ASCIIDOC = asciidoctor
197 ASCIIDOC_CONF =
198 ASCIIDOC_HTML = xhtml5
199 ASCIIDOC_DOCBOOK = docbook5
200 ASCIIDOC_EXTRA += -acompat-mode -atabsize=8
201 ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions
202 ASCIIDOC_EXTRA += -alitdd='&\#x2d;&\#x2d;'
203 ASCIIDOC_DEPS = asciidoctor-extensions.rb GIT-ASCIIDOCFLAGS
204 DBLATEX_COMMON =
205 XMLTO_EXTRA += --skip-validation
206 XMLTO_EXTRA += -x manpage.xsl
207 endif
209 SHELL_PATH ?= $(SHELL)
210 # Shell quote;
211 SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
213 ifdef DEFAULT_PAGER
214 DEFAULT_PAGER_SQ = $(subst ','\'',$(DEFAULT_PAGER))
215 ASCIIDOC_EXTRA += -a 'git-default-pager=$(DEFAULT_PAGER_SQ)'
216 endif
218 ifdef DEFAULT_EDITOR
219 DEFAULT_EDITOR_SQ = $(subst ','\'',$(DEFAULT_EDITOR))
220 ASCIIDOC_EXTRA += -a 'git-default-editor=$(DEFAULT_EDITOR_SQ)'
221 endif
223 all: html man
225 html: $(DOC_HTML)
227 man: man1 man5 man7
228 man1: $(DOC_MAN1)
229 man5: $(DOC_MAN5)
230 man7: $(DOC_MAN7)
232 info: git.info gitman.info
234 pdf: user-manual.pdf
236 install: install-man
238 install-man: man
239 $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
240 $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
241 $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir)
242 $(INSTALL) -m 644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
243 $(INSTALL) -m 644 $(DOC_MAN5) $(DESTDIR)$(man5dir)
244 $(INSTALL) -m 644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
246 install-info: info
247 $(INSTALL) -d -m 755 $(DESTDIR)$(infodir)
248 $(INSTALL) -m 644 git.info gitman.info $(DESTDIR)$(infodir)
249 if test -r $(DESTDIR)$(infodir)/dir; then \
250 $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) git.info ;\
251 $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) gitman.info ;\
252 else \
253 echo "No directory found in $(DESTDIR)$(infodir)" >&2 ; \
256 install-pdf: pdf
257 $(INSTALL) -d -m 755 $(DESTDIR)$(pdfdir)
258 $(INSTALL) -m 644 user-manual.pdf $(DESTDIR)$(pdfdir)
260 install-html: html
261 '$(SHELL_PATH_SQ)' ./install-webdoc.sh $(DESTDIR)$(htmldir)
263 ../GIT-VERSION-FILE: FORCE
264 $(QUIET_SUBDIR0)../ $(QUIET_SUBDIR1) GIT-VERSION-FILE
266 ifneq ($(filter-out lint-docs clean,$(MAKECMDGOALS)),)
267 -include ../GIT-VERSION-FILE
268 endif
271 # Determine "include::" file references in asciidoc files.
273 docdep_prereqs = \
274 mergetools-list.made $(mergetools_txt) \
275 cmd-list.made $(cmds_txt)
277 doc.dep : $(docdep_prereqs) $(DOC_DEP_TXT) build-docdep.perl
278 $(QUIET_GEN)$(PERL_PATH) ./build-docdep.perl >$@ $(QUIET_STDERR)
280 ifneq ($(MAKECMDGOALS),clean)
281 -include doc.dep
282 endif
284 cmds_txt = cmds-ancillaryinterrogators.txt \
285 cmds-ancillarymanipulators.txt \
286 cmds-mainporcelain.txt \
287 cmds-plumbinginterrogators.txt \
288 cmds-plumbingmanipulators.txt \
289 cmds-synchingrepositories.txt \
290 cmds-synchelpers.txt \
291 cmds-guide.txt \
292 cmds-purehelpers.txt \
293 cmds-foreignscminterface.txt
295 $(cmds_txt): cmd-list.made
297 cmd-list.made: cmd-list.perl ../command-list.txt $(MAN1_TXT)
298 $(QUIET_GEN)$(PERL_PATH) ./cmd-list.perl ../command-list.txt $(cmds_txt) $(QUIET_STDERR) && \
299 date >$@
301 mergetools_txt = mergetools-diff.txt mergetools-merge.txt
303 $(mergetools_txt): mergetools-list.made
305 mergetools-list.made: ../git-mergetool--lib.sh $(wildcard ../mergetools/*)
306 $(QUIET_GEN) \
307 $(SHELL_PATH) -c 'MERGE_TOOLS_DIR=../mergetools && TOOL_MODE=diff && \
308 . ../git-mergetool--lib.sh && \
309 show_tool_names can_diff' | sed -e "s/\([a-z0-9]*\)/\`\1\`;;/" >mergetools-diff.txt && \
310 $(SHELL_PATH) -c 'MERGE_TOOLS_DIR=../mergetools && TOOL_MODE=merge && \
311 . ../git-mergetool--lib.sh && \
312 show_tool_names can_merge' | sed -e "s/\([a-z0-9]*\)/\`\1\`;;/" >mergetools-merge.txt && \
313 date >$@
315 TRACK_ASCIIDOCFLAGS = $(subst ','\'',$(ASCIIDOC_COMMON):$(ASCIIDOC_HTML):$(ASCIIDOC_DOCBOOK))
317 GIT-ASCIIDOCFLAGS: FORCE
318 @FLAGS='$(TRACK_ASCIIDOCFLAGS)'; \
319 if test x"$$FLAGS" != x"`cat GIT-ASCIIDOCFLAGS 2>/dev/null`" ; then \
320 echo >&2 " * new asciidoc flags"; \
321 echo "$$FLAGS" >GIT-ASCIIDOCFLAGS; \
324 clean:
325 $(RM) -rf .build/
326 $(RM) *.xml *.xml+ *.html *.html+ *.1 *.5 *.7
327 $(RM) *.texi *.texi+ *.texi++ git.info gitman.info
328 $(RM) *.pdf
329 $(RM) howto-index.txt howto/*.html doc.dep
330 $(RM) technical/*.html technical/api-index.txt
331 $(RM) SubmittingPatches.txt
332 $(RM) $(cmds_txt) $(mergetools_txt) *.made
333 $(RM) manpage-base-url.xsl
334 $(RM) GIT-ASCIIDOCFLAGS
336 $(MAN_HTML): %.html : %.txt $(ASCIIDOC_DEPS)
337 $(QUIET_ASCIIDOC)$(TXT_TO_HTML) -d manpage -o $@ $<
339 $(OBSOLETE_HTML): %.html : %.txto $(ASCIIDOC_DEPS)
340 $(QUIET_ASCIIDOC)$(TXT_TO_HTML) -o $@ $<
342 manpage-base-url.xsl: manpage-base-url.xsl.in
343 $(QUIET_GEN)sed "s|@@MAN_BASE_URL@@|$(MAN_BASE_URL)|" $< > $@
345 %.1 %.5 %.7 : %.xml manpage-base-url.xsl $(wildcard manpage*.xsl)
346 $(QUIET_XMLTO)$(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<
348 %.xml : %.txt $(ASCIIDOC_DEPS)
349 $(QUIET_ASCIIDOC)$(TXT_TO_XML) -d manpage -o $@ $<
351 user-manual.xml: user-manual.txt user-manual.conf asciidoctor-extensions.rb GIT-ASCIIDOCFLAGS
352 $(QUIET_ASCIIDOC)$(TXT_TO_XML) -d book -o $@ $<
354 technical/api-index.txt: technical/api-index-skel.txt \
355 technical/api-index.sh $(patsubst %,%.txt,$(API_DOCS))
356 $(QUIET_GEN)cd technical && '$(SHELL_PATH_SQ)' ./api-index.sh
358 technical/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../
359 $(patsubst %,%.html,$(API_DOCS) technical/api-index $(TECH_DOCS)): %.html : %.txt \
360 asciidoc.conf GIT-ASCIIDOCFLAGS
361 $(QUIET_ASCIIDOC)$(TXT_TO_HTML) $*.txt
363 SubmittingPatches.txt: SubmittingPatches
364 $(QUIET_GEN) cp $< $@
366 XSLT = docbook.xsl
367 XSLTOPTS =
368 XSLTOPTS += --xinclude
369 XSLTOPTS += --stringparam html.stylesheet docbook-xsl.css
370 XSLTOPTS += --param generate.consistent.ids 1
372 user-manual.html: user-manual.xml $(XSLT)
373 $(QUIET_XSLTPROC)xsltproc $(XSLTOPTS) -o $@ $(XSLT) $<
375 git.info: user-manual.texi
376 $(QUIET_MAKEINFO)$(MAKEINFO) --no-split -o $@ user-manual.texi
378 user-manual.texi: user-manual.xml
379 $(QUIET_DB2TEXI)$(DOCBOOK2X_TEXI) user-manual.xml --encoding=UTF-8 --to-stdout >$@+ && \
380 $(PERL_PATH) fix-texi.perl <$@+ >$@ && \
381 $(RM) $@+
383 user-manual.pdf: user-manual.xml
384 $(QUIET_DBLATEX)$(DBLATEX) -o $@ $(DBLATEX_COMMON) $<
386 gitman.texi: $(MAN_XML) cat-texi.perl texi.xsl
387 $(QUIET_DB2TEXI) \
388 ($(foreach xml,$(sort $(MAN_XML)),xsltproc -o $(xml)+ texi.xsl $(xml) && \
389 $(DOCBOOK2X_TEXI) --encoding=UTF-8 --to-stdout $(xml)+ && \
390 $(RM) $(xml)+ &&) true) > $@+ && \
391 $(PERL_PATH) cat-texi.perl $@ <$@+ >$@ && \
392 $(RM) $@+
394 gitman.info: gitman.texi
395 $(QUIET_MAKEINFO)$(MAKEINFO) --no-split --no-validate $<
397 $(patsubst %.txt,%.texi,$(MAN_TXT)): %.texi : %.xml
398 $(QUIET_DB2TEXI)$(DOCBOOK2X_TEXI) --to-stdout $*.xml >$@
400 howto-index.txt: howto-index.sh $(HOWTO_TXT)
401 $(QUIET_GEN)'$(SHELL_PATH_SQ)' ./howto-index.sh $(sort $(HOWTO_TXT)) >$@
403 $(patsubst %,%.html,$(ARTICLES)) : %.html : %.txt
404 $(QUIET_ASCIIDOC)$(TXT_TO_HTML) $*.txt
406 WEBDOC_DEST = /pub/software/scm/git/docs
408 howto/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../
409 $(patsubst %.txt,%.html,$(HOWTO_TXT)): %.html : %.txt GIT-ASCIIDOCFLAGS
410 $(QUIET_ASCIIDOC) \
411 sed -e '1,/^$$/d' $< | \
412 $(TXT_TO_HTML) - >$@
414 install-webdoc : html
415 '$(SHELL_PATH_SQ)' ./install-webdoc.sh $(WEBDOC_DEST)
417 # You must have a clone of 'git-htmldocs' and 'git-manpages' repositories
418 # next to the 'git' repository itself for the following to work.
420 quick-install: quick-install-man
422 require-manrepo::
423 @if test ! -d $(MAN_REPO); \
424 then echo "git-manpages repository must exist at $(MAN_REPO)"; exit 1; fi
426 quick-install-man: require-manrepo
427 '$(SHELL_PATH_SQ)' ./install-doc-quick.sh $(MAN_REPO) $(DESTDIR)$(mandir) $(GIT_MAN_REF)
429 require-htmlrepo::
430 @if test ! -d $(HTML_REPO); \
431 then echo "git-htmldocs repository must exist at $(HTML_REPO)"; exit 1; fi
433 quick-install-html: require-htmlrepo
434 '$(SHELL_PATH_SQ)' ./install-doc-quick.sh $(HTML_REPO) $(DESTDIR)$(htmldir) $(GIT_MAN_REF)
436 print-man1:
437 @for i in $(MAN1_TXT); do echo $$i; done
439 ## Lint: gitlink
440 LINT_DOCS_GITLINK = $(patsubst %.txt,.build/lint-docs/gitlink/%.ok,$(HOWTO_TXT) $(DOC_DEP_TXT))
441 $(LINT_DOCS_GITLINK): lint-gitlink.perl
442 $(LINT_DOCS_GITLINK): .build/lint-docs/gitlink/%.ok: %.txt
443 $(call mkdir_p_parent_template)
444 $(QUIET_LINT_GITLINK)$(PERL_PATH) lint-gitlink.perl \
445 $< \
446 $(HOWTO_TXT) $(DOC_DEP_TXT) \
447 --section=1 $(MAN1_TXT) \
448 --section=5 $(MAN5_TXT) \
449 --section=7 $(MAN7_TXT) >$@
450 .PHONY: lint-docs-gitlink
451 lint-docs-gitlink: $(LINT_DOCS_GITLINK)
453 ## Lint: man-end-blurb
454 LINT_DOCS_MAN_END_BLURB = $(patsubst %.txt,.build/lint-docs/man-end-blurb/%.ok,$(MAN_TXT))
455 $(LINT_DOCS_MAN_END_BLURB): lint-man-end-blurb.perl
456 $(LINT_DOCS_MAN_END_BLURB): .build/lint-docs/man-end-blurb/%.ok: %.txt
457 $(call mkdir_p_parent_template)
458 $(QUIET_LINT_MANEND)$(PERL_PATH) lint-man-end-blurb.perl $< >$@
459 .PHONY: lint-docs-man-end-blurb
461 ## Lint: man-section-order
462 LINT_DOCS_MAN_SECTION_ORDER = $(patsubst %.txt,.build/lint-docs/man-section-order/%.ok,$(MAN_TXT))
463 $(LINT_DOCS_MAN_SECTION_ORDER): lint-man-section-order.perl
464 $(LINT_DOCS_MAN_SECTION_ORDER): .build/lint-docs/man-section-order/%.ok: %.txt
465 $(call mkdir_p_parent_template)
466 $(QUIET_LINT_MANSEC)$(PERL_PATH) lint-man-section-order.perl $< >$@
467 .PHONY: lint-docs-man-section-order
468 lint-docs-man-section-order: $(LINT_DOCS_MAN_SECTION_ORDER)
470 ## Lint: list of targets above
471 .PHONY: lint-docs
472 lint-docs: lint-docs-gitlink
473 lint-docs: lint-docs-man-end-blurb
474 lint-docs: lint-docs-man-section-order
476 ifeq ($(wildcard po/Makefile),po/Makefile)
477 doc-l10n install-l10n::
478 $(MAKE) -C po $@
479 endif
481 .PHONY: FORCE