r8387 - in packages/trunk/performous/debian: . h2m

Miriam Ruiz miriam at alioth.debian.org
Wed Nov 12 00:20:23 UTC 2008


Author: miriam
Date: 2008-11-12 00:20:23 +0000 (Wed, 12 Nov 2008)
New Revision: 8387

Modified:
   packages/trunk/performous/debian/h2m/Makefile
   packages/trunk/performous/debian/h2m/performous
   packages/trunk/performous/debian/rules
Log:
Create proper man page



Modified: packages/trunk/performous/debian/h2m/Makefile
===================================================================
--- packages/trunk/performous/debian/h2m/Makefile	2008-11-12 00:09:13 UTC (rev 8386)
+++ packages/trunk/performous/debian/h2m/Makefile	2008-11-12 00:20:23 UTC (rev 8387)
@@ -11,4 +11,4 @@
 
 performous.6: performous
 	chmod +x $<
-	help2man --no-info --section=6 --include=../../doc/$<.h2m ./$< > $@
+	help2man --no-info --section=6 --include=../../docs/$<.h2m ./$< > $@

Modified: packages/trunk/performous/debian/h2m/performous
===================================================================
--- packages/trunk/performous/debian/h2m/performous	2008-11-12 00:09:13 UTC (rev 8386)
+++ packages/trunk/performous/debian/h2m/performous	2008-11-12 00:20:23 UTC (rev 8387)
@@ -6,12 +6,11 @@
 
 case "$1" in
   "--help")
-    LD_LIBRARY_PATH="$LIB" $BIN/performous --help 2>&1 | \
-      grep -v "^Usage" | grep -v "^Options" | grep -v "^--------"
+    LD_LIBRARY_PATH="$LIB" $BIN/performous --help 2>/dev/null
     ;;
    "--version")
-    LD_LIBRARY_PATH="$LIB" $BIN/performous --version 2>&1 | \
-      grep -v "^$" | head -n 1 | awk '{ print $2 }'
+    LD_LIBRARY_PATH="$LIB" $BIN/performous --version 2>/dev/null | \
+      grep -e "^Performous"| awk '{print $2}'
     ;;
 esac
 exit 0

Modified: packages/trunk/performous/debian/rules
===================================================================
--- packages/trunk/performous/debian/rules	2008-11-12 00:09:13 UTC (rev 8386)
+++ packages/trunk/performous/debian/rules	2008-11-12 00:20:23 UTC (rev 8387)
@@ -41,7 +41,8 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-	cd $(BUILD_TREE); $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	cd $(BUILD_TREE); $(MAKE) install DESTDIR=$(CURDIR)/debian/performous
+	$(MAKE) -C debian/h2m
 
 # Build architecture independant packages using the common target.
 binary-indep: build install




More information about the Pkg-games-commits mailing list