projects
/
grml-crypt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs: don't download DTDs when building docs
[grml-crypt.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
6e4ac34
..
e3c1bf6
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-15,7
+15,8
@@
man8 = $(usr)/share/man/man8/
%.gz : %.txt ;
asciidoc -d manpage -b docbook $^
%.gz : %.txt ;
asciidoc -d manpage -b docbook $^
- xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo $^ |sed -e 's/.txt/.xml/'`
+ sed -i 's/<emphasis role="strong">/<emphasis role="bold">/g' `echo $^ |sed -e 's/.txt/.xml/'`
+ xsltproc --novalid /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo $^ |sed -e 's/.txt/.xml/'`
gzip -f --best `echo $^ |sed -e 's/.txt//'`
gzip -f --best `echo $^ |sed -e 's/.txt//'`
@@
-41,5
+42,7
@@
install: all
$(install_) -m 755 $(name_) $(usrsbin)
clean:
$(install_) -m 755 $(name_) $(usrsbin)
clean:
- rm -rf $(name_).8.
html $(name_).8.xml $(name_).8 $(name_).8.gz
+ rm -rf $(name_).8.
xml $(name_).8
+distclean: clean
+ rm -rf $(name_).8.html $(name_).8.gz