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

commit 0952822270e35d7bbe1454b5ad0ca42f40d2991b
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Sun Sep 30 23:05:17 2007 +0200

pear-makefb: added a manpage

diff --git a/Makefile b/Makefile
index 331e3a0..6b75f51 100644
--- a/Makefile
+++ b/Makefile
@@ -41,8 +41,6 @@ DOCS = $(wildcard *.txt) $(wildcard syncpkgd/*.txt)
compile: genauthors apidocs docs
$(MAKE) -C mkiso
$(MAKE) -C repoman.d
-       help2man -n "Writes FrugalBuild scripts for PHP PEAR/PECL packages" -S 
Frugalware -N ./pear-makefb \
-               |sed 's/\\(co/(c)/' >pear-makefb.1
help2man -n "Converts a README.Frugalware to HTML" -S Frugalware -N ./mkpkghtml 
|sed 's/\\(co/(c)/' >mkpkghtml.1

docs: $(subst .txt,.1,$(DOCS))
diff --git a/pear-makefb b/pear-makefb
index 1c9b64c..f0905fc 100755
--- a/pear-makefb
+++ b/pear-makefb
@@ -11,7 +11,7 @@ from xml.dom import minidom
from email.Utils import formatdate

def usage():
-       print "Usage: %s packagename [--pecl]" % sys.argv[0]
+       os.system("man pear-makefb")

if len(sys.argv) < 2:
usage()
diff --git a/pear-makefb.txt b/pear-makefb.txt
new file mode 100644
index 0000000..4d31457
--- /dev/null
+++ b/pear-makefb.txt
@@ -0,0 +1,20 @@
+= pear-makefb(1)
+
+== NAME
+
+pear-makefb - Writes FrugalBuild scripts for PHP PEAR/PECL packages
+
+== SYNOPSIS
+
+pear-makefb [<packagename>] [<options>]
+
+== OPTIONS
+
+--help::
+       Display this manpage.
+
+--pecl::
+       Use this option when <packagename> is a PECL package, not a PEAR one.
+
+--version::
+       Display the package version.
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to