[Pkg-python-debian-commits] r55 ./trunk: The we can generate more than just setup.py with the m4 rule, so let's make the

John Wright john at movingsucks.org
Sun Jul 1 04:17:35 UTC 2007


------------------------------------------------------------
revno: 55
committer: John Wright <john at movingsucks.org>
branch nick: trunk
timestamp: Sat 2007-06-30 22:17:35 -0600
message:
  The we can generate more than just setup.py with the m4 rule, so let's make the
  rule more general.
modified:
  debian/rules
-------------- next part --------------
=== modified file 'debian/rules'
--- a/debian/rules	2007-07-01 04:00:27 +0000
+++ b/debian/rules	2007-07-01 04:17:35 +0000
@@ -6,7 +6,7 @@
 
 VERSION := $(shell dpkg-parsechangelog | grep '^Version: ' | awk '{print $$2}')
 
-setup.py: setup.py.in
+%.py: %.py.in
 	m4 -D __CHANGELOG_VERSION__=$(VERSION) < $< > $@
 
 build: build-stamp



More information about the pkg-python-debian-commits mailing list