Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=c8868e6e8af2d4f7286eb7eb0cf00b4e2da42fd2

commit c8868e6e8af2d4f7286eb7eb0cf00b4e2da42fd2
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Sat Sep 29 16:28:08 2007 +0200

support for having manpages in subdirs

diff --git a/Makefile b/Makefile
index 820fd2e..8df64cb 100644
--- a/Makefile
+++ b/Makefile
@@ -130,9 +130,9 @@ fwmakepkg.3: apidocs fwmakepkg.3.in
ls apidocs/*.sh|sed 's|apidocs/||;$$!s/\(.*\)$$/.BR \1 (3),/;$$s/\(.*\)$$/.BR 
\1 (3)/' >> fwmakepkg.3

%.xml: %.txt
-       asciidoc -d manpage -b docbook $(basename $@).txt
-sed -i '/<!DOCTYPE/s|\("http[^"].*"\)|"file://$(XML_PATH)/docbookx.dtd"|' $@
+       asciidoc -d manpage -b docbook $^
+       sed -i 
'/<!DOCTYPE/s|\("http[^"].*"\)|"file://$(XML_PATH)/docbookx.dtd"|' $^

%.1: %.xml
-       xsltproc --nonet --path $(XML_PATH) 
/etc/asciidoc/docbook-xsl/manpage.xsl $(basename $@).xml
+       xsltproc -o $@ --nonet --path $(XML_PATH) 
/etc/asciidoc/docbook-xsl/manpage.xsl $^
sed -i 's/\\(bu/*/' $@
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to