[Python-modules-commits] r9726 - in packages/python-openid/trunk/debian (rules)
dottedmag-guest at users.alioth.debian.org
dottedmag-guest at users.alioth.debian.org
Thu Sep 10 16:19:02 UTC 2009
Date: Thursday, September 10, 2009 @ 16:19:01
Author: dottedmag-guest
Revision: 9726
Rewrite debian/rules using dh 7
Modified:
packages/python-openid/trunk/debian/rules
Modified: packages/python-openid/trunk/debian/rules
===================================================================
--- packages/python-openid/trunk/debian/rules 2009-09-10 16:18:31 UTC (rev 9725)
+++ packages/python-openid/trunk/debian/rules 2009-09-10 16:19:01 UTC (rev 9726)
@@ -1,43 +1,9 @@
#!/usr/bin/make -f
-# -*- makefile -*-
+%:
+ dh $@
-PACKAGE_NAME=python-openid
+override_dh_install:
+ dh_install "doc/*" usr/share/doc/python-openid/html
-build:
-
-clean:
- dh_testdir
- dh_testroot
-
- python setup.py clean
- rm -rf build
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
-
- python setup.py install --no-compile --root $(CURDIR)/debian/$(PACKAGE_NAME)
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs NEWS
- dh_installdocs
- dh_installexamples
- dh_install "doc/*" usr/share/doc/$(PACKAGE_NAME)/html
- dh_pysupport
+override_dh_compress:
dh_compress -X.py -Xexamples
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary-arch: build install
-
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
More information about the Python-modules-commits
mailing list