Release new version 0.28
[grml-crypt.git] / 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 $^
-       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//'`
 
 
@@ -41,5 +42,7 @@ install: all
        $(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