Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2015-08-06 21:44:23 +0300
committerJonathan Corbet <corbet@lwn.net>2015-08-06 21:44:44 +0300
commite9c9963b439db734e9705f96909c5a3388dd81bb (patch)
tree6f4da6e5332a8dea80247d971ed2b1cfc7012546 /Documentation/DocBook/Makefile
parentb2c4105b080fb26d8fc9b89c846f5966137c6d40 (diff)
Revert "DocBook: Avoid building man pages repeatedly and inconsistently"
This reverts commit b44158b17099ed5c7c8f4bfb7029942adbfbc318. This commit introduced warnings and possibly inconsistent results into the doc build process. The goal is good but it will need to be achieved another way. Reported-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/DocBook/Makefile')
-rw-r--r--Documentation/DocBook/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index 83fcb6c2a00f..11a41456b943 100644
--- a/Documentation/DocBook/Makefile
+++ b/Documentation/DocBook/Makefile
@@ -56,13 +56,6 @@ htmldocs: $(HTML)
MAN := $(patsubst %.xml, %.9, $(BOOKS))
mandocs: $(MAN)
- @dups=$$(sed -n 's/.*<refname>\([^<]*\)<\/refname>.*/\1/p' \
- $(obj)/*.xml.noextra | sort | uniq -d); \
- if [ -n "$$dups" ]; then \
- echo >&2 "The following manual pages are generated more than once:"; \
- printf >&2 '%s\n' "$$dups"; \
- exit 1; \
- fi
find $(obj)/man -name '*.9' | xargs gzip -nf
installmandocs: mandocs
@@ -157,7 +150,7 @@ quiet_cmd_db2html = HTML $@
cp $(PNG-$(basename $(notdir $@))) $(patsubst %.html,%,$@); fi
quiet_cmd_db2man = MAN $@
- cmd_db2man = if grep -q refentry $<; then xmlif excludeextra=1 <$< >$<.noextra && xmlto man $(XMLTOFLAGS) -o $(obj)/man $<.noextra ; fi
+ cmd_db2man = if grep -q refentry $<; then xmlto man $(XMLTOFLAGS) -o $(obj)/man $< ; fi
%.9 : %.xml
@(which xmlto > /dev/null 2>&1) || \
(echo "*** You need to install xmlto ***"; \
@@ -224,7 +217,6 @@ clean-files := $(DOCBOOKS) \
$(patsubst %.xml, %.ps, $(DOCBOOKS)) \
$(patsubst %.xml, %.pdf, $(DOCBOOKS)) \
$(patsubst %.xml, %.html, $(DOCBOOKS)) \
- $(patsubst %, %.noextra, $(DOCBOOKS)) \
$(patsubst %.xml, %.9, $(DOCBOOKS)) \
$(index)