[Python-apps-commits] r3839 - in packages/osc/trunk/debian (changelog rules)
nijel at users.alioth.debian.org
nijel at users.alioth.debian.org
Fri Sep 25 12:24:32 UTC 2009
Date: Friday, September 25, 2009 @ 12:24:12
Author: nijel
Revision: 3839
Simplify debian rules by using dh.
Modified:
packages/osc/trunk/debian/changelog
packages/osc/trunk/debian/rules
Modified: packages/osc/trunk/debian/changelog
===================================================================
--- packages/osc/trunk/debian/changelog 2009-09-25 12:15:50 UTC (rev 3838)
+++ packages/osc/trunk/debian/changelog 2009-09-25 12:24:12 UTC (rev 3839)
@@ -1,8 +1,9 @@
osc (0.122-2) UNRELEASED; urgency=low
* NOT RELEASED YET
+ * Simplify debian rules by using dh.
- -- Michal ÄihaÅ <nijel at debian.org> Mon, 21 Sep 2009 14:29:40 +0200
+ -- Michal ÄihaÅ <nijel at debian.org> Fri, 25 Sep 2009 14:23:29 +0200
osc (0.122-1) unstable; urgency=low
Modified: packages/osc/trunk/debian/rules
===================================================================
--- packages/osc/trunk/debian/rules 2009-09-25 12:15:50 UTC (rev 3838)
+++ packages/osc/trunk/debian/rules 2009-09-25 12:24:12 UTC (rev 3839)
@@ -1,40 +1,14 @@
#!/usr/bin/make -f
-#export DH_VERBOSE=1
+%:
+ dh $@
-# Directory where to put tarball from get-orig-source
-ORIGTARDIR=../tarballs
-
-# Version used for get-orig-source
-VERSION = $(shell dpkg-parsechangelog | grep Version | sed "s/Version: //")
-UPSTREAM_VERSION = $(shell echo $(VERSION) | sed 's/\([^-].*\)-.*/\1/')
-
override_dh_installchangelogs:
dh_installchangelogs NEWS
-build: build-stamp
-
-build-stamp:
- dh build
- touch $@
-
-clean:
- dh clean
-
-install: build
- dh install
+override_dh_auto_install:
+ dh_auto_install
# Give the binary sane name
mv $(CURDIR)/debian/osc/usr/bin/osc-wrapper.py $(CURDIR)/debian/osc/usr/bin/osc
# Not needed
rm $(CURDIR)/debian/osc/usr/bin/osc_hotshot.py
-
-
-binary-arch: build install
-# We have nothing to do
-
-binary-indep: build install
- dh binary-indep
-
-binary: binary-indep binary-arch
-
-.PHONY: build clean binary-indep binary-arch binary install get-orig-source
More information about the Python-apps-commits
mailing list