X-Git-Url: http://git.grml.org/?p=grml-crypt.git;a=blobdiff_plain;f=Makefile;h=c111943e50c70881121e6b82e89be5345c08ab1e;hp=6e4ac345813890d624e426a2ce5d3d96affabdb7;hb=6bdde2304c466c38d7e61d2d804df4df277fa5c0;hpb=ca07a641e4ed302d3ef1c936210821860a5bbac4 diff --git a/Makefile b/Makefile index 6e4ac34..c111943 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ man8 = $(usr)/share/man/man8/ %.gz : %.txt ; asciidoc -d manpage -b docbook $^ + sed -i 's///g' `echo $^ |sed -e 's/.txt/.xml/'` xsltproc /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