Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=d1742017616b1645349f24a481adf3d6c8937773
commit d1742017616b1645349f24a481adf3d6c8937773
Author: VMiklos <[EMAIL PROTECTED]>
Date: Sat Sep 29 16:56:44 2007 +0200
add rule to generate html manpages
this is not called by default but it can be handy
diff --git a/Makefile b/Makefile
index a76f4f9..87be43a 100644
--- a/Makefile
+++ b/Makefile
@@ -129,6 +129,9 @@ fwmakepkg.3: apidocs fwmakepkg.3.in
cat fwmakepkg.3.in > fwmakepkg.3
ls apidocs/*.sh|sed 's|apidocs/||;$$!s/\(.*\)$$/.BR \1 (3),/;$$s/\(.*\)$$/.BR
\1 (3)/' >> fwmakepkg.3
+%.html: %.txt
+ asciidoc $^
+
%.xml: %.txt
asciidoc -d manpage -b docbook $^
sed -i '/<!DOCTYPE/s|\("http[^"].*"\)|"file://$(XML_PATH)/docbookx.dtd"|' $^
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git