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

Christian Perrier bubulle at debian.org
Sun Nov 27 17:00:47 UTC 2011


The following commit has been merged in the master branch:
commit c5c058260bb12296066dd51ec1cceae764fa57f9
Author: Christian Perrier <bubulle at debian.org>
Date:   Sun Nov 27 17:09:48 2011 +0100

    Use dh7-style debian/rules

diff --git a/debian/changelog b/debian/changelog
index f3348d8..2e5d104 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ pytrainer (1.9.1-1) UNRELEASED; urgency=low
   * Depend on python-migrate to allow database migration at first run
   * Bump Standards to 3.9.2 (checked)
   * Bump debhelper compatibility to 8
+  * Use dh7-style debian/rules
 
  -- Christian Perrier <bubulle at debian.org>  Sun, 27 Nov 2011 16:37:32 +0100
 
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..0c58d99
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/pytrainer.7
diff --git a/debian/rules b/debian/rules
index acc095c..4b1866c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,67 +1,19 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
+%:
+	dh $@
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-build: build-arch build-indep
-
-build-arch: build-stamp
-
-build-indep: build-stamp
-
-build-stamp:
-	dh_testdir
-	touch build_stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
+		
+override_dh_clean:
 	dh_clean
 	rm -rf $(CURDIR)/build
 	rm -rf $(CURDIR)/debian/pytrainer/usr
 	rm -rf $(CURDIR)/debian/pytrainer.7
 
-install:
+override_dh_install:
 	rm -rf $(CURDIR)/debian/pytrainer/usr
 	rm -rf $(CURDIR)/build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
 	python setup.py install --no-compile --prefix $(CURDIR)/debian/pytrainer/usr --install-layout=deb
 	mv $(CURDIR)/debian/pytrainer/usr/bin/pytrainer $(CURDIR)/debian/pytrainer/usr/lib/pytrainer/pytr
 	cp $(CURDIR)/debian/mozpytrainer.sh $(CURDIR)/debian/pytrainer/usr/bin/pytrainer 
 	cp man/manpage_pytrainer.src debian/pytrainer.7
 
-binary-arch: 
-#nothing to do
-
-# Build architecture-dependent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples
-	dh_installmenu
-	dh_installman debian/pytrainer.7
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_pysupport
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep 
-.PHONY: build clean binary-indep binary install

-- 
Debian package for pytrainer



More information about the Pkg-running-devel mailing list