Author: ludovicc-guest
Date: 2009-06-18 21:56:38 +0000 (Thu, 18 Jun 2009)
New Revision: 8525

Modified:
   trunk/maven-repo-helper/debian/rules
Log:
* Fix man page descriptions

Modified: trunk/maven-repo-helper/debian/rules
===================================================================
--- trunk/maven-repo-helper/debian/rules        2009-06-18 20:23:43 UTC (rev 
8524)
+++ trunk/maven-repo-helper/debian/rules        2009-06-18 21:56:38 UTC (rev 
8525)
@@ -14,6 +14,15 @@
 # Generation of man pages
 SCRIPTS       := $(wildcard src/main/bin/mh_*)
 MAN_PAGES     := $(addprefix debian/tmp/doc/,$(addsuffix .1, $(notdir 
$(SCRIPTS))))
+mh_checkrepo_description = "Checks the Maven repository."
+mh_cleanpom_description = "Cleans a POM file."
+mh_genrules_description = "Generates the debian/rules file with Maven support."
+mh_installjar_description = "Installs a jar into /usr/share/maven-repo."
+mh_installpom_description = "Installs a POM file into /usr/share/maven-repo."
+mh_installpoms_description = "Installs all POMs for the package into 
/usr/share/maven-repo."
+mh_lspoms_description = "Generates a list of POMs for the package."
+mh_patchpoms_description = "Patches the POM files using the Maven dependency 
rules."
+mh_unpatchpoms_description = "Undo the patches on the POM files."
 debian/tmp/mh_lib.sh : src/main/share/mh_lib.sh
        mkdir -p debian/tmp
        cp src/main/share/mh_lib.sh debian/tmp/mh_lib.sh
@@ -24,7 +33,7 @@
        chmod +x $@
 debian/tmp/doc/mh_%.1 : debian/tmp/mh_% 
        mkdir -p debian/tmp/doc
-       help2man -N -o $@ $<
+       help2man -N -n $(mh_$*_description) -o $@ $<
 man-pages: $(MAN_PAGES)
 build/$(PACKAGE):: man-pages
 


_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to