diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-06-28 18:32:51 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-06-28 18:32:51 -0400 |
commit | 67d43e6ee0e6d411ceb937314985403497acc7ea (patch) | |
tree | 717e20f38f4beb413b02518fccaca63b7d5c5e36 /doc | |
parent | doc/webapp-eclass.5.xml: fix generated man/html filename (diff) | |
download | webapp-config-67d43e6ee0e6d411ceb937314985403497acc7ea.tar.gz webapp-config-67d43e6ee0e6d411ceb937314985403497acc7ea.tar.bz2 webapp-config-67d43e6ee0e6d411ceb937314985403497acc7ea.zip |
doc/Makefile: fix parallel build, thanks Arfrever
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/doc/Makefile b/doc/Makefile index 4dc8e44..f38cdb2 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -17,8 +17,6 @@ MAN_PAGES = webapp-config.8 webapp-config.5 webapp-eclass.5 HTML_PAGES = webapp-config.8.html webapp-config.5.html webapp-eclass.5.html -TMPFILE=./webapp-config.man - all: man html html: $(HTML_PAGES) @@ -31,13 +29,10 @@ clean: %.html: %.xml @echo HTML $@ - @xmlto html-nochunks $< + @xmlto html-nochunks $< 2>/dev/null %: %.xml @echo MAN $@ - @xmlto man $< -# -# fix up the blank lines that docbook leaves behind -# - @cat $@ | sed -e 's/$$/.fred/g;' | tr -d '\n' | sed -e 's/.fred.fred\./.fred./g;' | sed -e 's/.fred/\n/g;' > $(TMPFILE) - @mv $(TMPFILE) $@ + @xmlto man $< 2>/dev/null + @cat $@ | sed -e 's/$$/.fred/g;' | tr -d '\n' | sed -e 's/.fred.fred\./.fred./g;' | sed -e 's/.fred/\n/g;' > $@.temp + @mv $@.temp $@ |