projects
/
grml-autoconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release new version 0.15.7
[grml-autoconfig.git]
/
doc
/
Makefile
diff --git
a/doc/Makefile
b/doc/Makefile
index
40881c0
..
802ced6
100644
(file)
--- a/
doc/Makefile
+++ b/
doc/Makefile
@@
-4,17
+4,14
@@
%.gz : %.txt ;
asciidoc -d manpage -b docbook $^
#sed -i 's/<emphasis role="strong">/<emphasis role="bold">/g' `echo $^ |sed -e 's/.txt/.xml/'`
%.gz : %.txt ;
asciidoc -d manpage -b docbook $^
#sed -i 's/<emphasis role="strong">/<emphasis role="bold">/g' `echo $^ |sed -e 's/.txt/.xml/'`
- xsltproc -nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo $^ |sed -e 's/.txt/.xml/'` &>/dev/null
- # ugly hack to avoid '.sp' at the end of a sentence or paragraph:
- sed -i 's/\.sp//' `echo $^ | sed -e 's/.txt//'`
+ xsltproc -nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo $^ |sed -e 's/.txt/.xml/'` > /dev/null 2>&1
gzip -f --best `echo $^ |sed -e 's/.txt//'`
gzip -f --best `echo $^ |sed -e 's/.txt//'`
-MANPAGES = grml-autoconfig
+MANPAGES = grml-autoconfig
.1 grml-autoconfig.8 restore-config.1 save-config.1
all: doc
all: doc
-doc: doc_html
-# doc: doc_man doc_html
+doc: doc_man doc_html
doc_html: $(addsuffix .html, $(MANPAGES))
doc_man: $(addsuffix .gz, $(MANPAGES))
doc_html: $(addsuffix .html, $(MANPAGES))
doc_man: $(addsuffix .gz, $(MANPAGES))