Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalwareutils.git;a=commitdiff;h=29f4d807220204cc21e6253f667495e38235683b

commit 29f4d807220204cc21e6253f667495e38235683b
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Mon Jul 21 14:46:01 2008 +0200

add author info to manpages

ported from pacman-tools as well

diff --git a/doc/Makefile b/doc/Makefile
index cee29f6..fa7b123 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -61,10 +61,10 @@ clean:
%.html: %.txt
asciidoc $^

-%.1: %.txt
+%.1: %.txt asciidoc.conf
a2x --asciidoc-opts="-f asciidoc.conf" -a \
frugalwareutils_version=$(VERSION) -a frugalwareutils_date=$(DATE) \
-               -a lang=$(shell dirname $@|tr -d .) -f manpage $^
+               -a lang=$(shell dirname $@|tr -d .) -f manpage $<
$(call CONVERT,$@)

install-man: install-man1
diff --git a/doc/asciidoc.conf b/doc/asciidoc.conf
index b247cf9..4eafa67 100644
--- a/doc/asciidoc.conf
+++ b/doc/asciidoc.conf
@@ -3,6 +3,12 @@ ifdef::backend-docbook[]
[header]
template::[header-declarations]
<refentry>
+       <info>
+               <author>
+                       <personname>Frugalware Developer Team &lt;[EMAIL 
PROTECTED]&gt;</personname>
+                       <personblurb>Author</personblurb>
+               </author>
+       </info>
<refmeta>
<refentrytitle>{mantitle}</refentrytitle>
<manvolnum>{manvolnum}</manvolnum>
@@ -19,3 +25,5 @@ template::[header-declarations]
</refnamediv>
endif::backend-docbook[]
endif::doctype-manpage[]
+
+// vim: ft=xml
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to