[Pkg-running-devel] [SCM] Debian package for pytrainer branch, master, updated. debian/1.8.0-4-11-g2bd5795

Christian Perrier bubulle at debian.org
Sun Nov 27 12:47:21 UTC 2011


The following commit has been merged in the master branch:
commit 703d80505ab812315f495ac19df1fad56a061eea
Author: Christian Perrier <bubulle at debian.org>
Date:   Sun Nov 27 12:47:51 2011 +0100

    Use upstream's manpage

diff --git a/debian/changelog b/debian/changelog
index 9200a00..f7dad86 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ pytrainer (1.9.1-1) UNRELEASED; urgency=low
     - Fixed run failure un mipsel. Closes: #587997
     - Fixed "AttributeError: 'NoneType' object has, no attribute 'read'"
       Closes: #622170
+  * Drop debian/pytrainer.1 as upstream now provides a manpage
+    (which we to to build at build time)
 
  -- Christian Perrier <bubulle at debian.org>  Sat, 26 Nov 2011 18:14:40 +0100
 
diff --git a/debian/rules b/debian/rules
index e759258..40ac8f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,7 @@ build-indep: build-stamp
 build-stamp:
 	dh_testdir
 	touch build_stamp
+	groff -Tascii -man man/manpage_pytrainer.src >$(CURDIR)/debian/pytrainer.7
 
 clean:
 	dh_testdir
@@ -26,6 +27,7 @@ clean:
 	dh_clean
 	rm -rf $(CURDIR)/build
 	rm -rf $(CURDIR)/debian/pytrainer/usr
+	rm -rf $(CURDIR)/debian/pytrainer.7
 
 install:
 	rm -rf $(CURDIR)/debian/pytrainer/usr
@@ -49,7 +51,7 @@ binary-indep: build install
 	dh_installdocs
 	dh_installexamples
 	dh_installmenu
-	dh_installman debian/pytrainer.1
+	dh_installman debian/pytrainer.7
 	dh_link
 	dh_strip
 	dh_compress

-- 
Debian package for pytrainer



More information about the Pkg-running-devel mailing list