[Fusionforge-commits] r7722 - trunk/gforge/debian

Christian Bayle cbayle at libremir.placard.fr.eu.org
Thu Jun 4 22:03:08 CEST 2009


Author: cbayle
Date: 2009-06-04 22:03:08 +0200 (Thu, 04 Jun 2009)
New Revision: 7722

Modified:
   trunk/gforge/debian/rules
Log:
Try to properly deal with man file


Modified: trunk/gforge/debian/rules
===================================================================
--- trunk/gforge/debian/rules	2009-06-04 19:45:07 UTC (rev 7721)
+++ trunk/gforge/debian/rules	2009-06-04 20:03:08 UTC (rev 7722)
@@ -69,6 +69,8 @@
 	dh_testdir
 
 	# Build man pages from Docbook sources
+	# Preprocess sgml
+	cat debian/dsf-in/config.sgml | sed 's/pkgname/$(PACKAGE)/g' > debian/$(PACKAGE)-config.sgml
 	/usr/bin/docbook-to-man debian/cvssh.sgml > cvssh.1
 	/usr/bin/docbook-to-man debian/$(PACKAGE)-config.sgml > $(PACKAGE)-config.1
 
@@ -88,12 +90,12 @@
 	rm -f $(CURDIR)/debian/*.dirs
 	rm -f $(CURDIR)/debian/*.install
 	rm -f $(CURDIR)/debian/*.docs
+	rm -f $(CURDIR)/debian/$(PACKAGE)-config.sgml
 	rm -f cvssh.1 $(PACKAGE)-config.1
 
 	rm -rf locales/*
 
 	perl $(CURDIR)/deb-specific/dsf-helper.pl --clean
-	rm -f $(CURDIR)/$(PACKAGE)-config.sgml
 	dh_clean
 
 install: build
@@ -109,9 +111,6 @@
 	# Preprocess files with DSF-Helper
 	perl $(CURDIR)/deb-specific/dsf-helper.pl
 
-	# Preprocess some other files
-	cat $(CURDIR)/dsf-in/config.sgml | sed "s/pkgname/$(PACKAGE)/g" > $(CURDIR)/$(PACKAGE)-config.sgml
-
 	# Install files
 	#dh_install --fail-missing -X.svn -X.arch-ids -X.bzr -X.cvsignore --sourcedir=$(CURDIR)
 	dh_install -X.svn -X.arch-ids -X.bzr -X.cvsignore --sourcedir=$(CURDIR)




More information about the Fusionforge-commits mailing list