[Pkg-maemo-commits] r15 ./mce-dev/debian: Use make distclean without error ignoring in clean target
Riku Voipio
riku.voipio at iki.fi
Tue Jan 1 14:35:06 UTC 2008
------------------------------------------------------------
revno: 15
committer: Riku Voipio <riku.voipio at iki.fi>
branch nick: debian
timestamp: Tue 2008-01-01 16:35:06 +0200
message:
Use make distclean without error ignoring in clean target
Ignore ".debian" in version string
modified:
debian/rules
-------------- next part --------------
=== modified file 'debian/rules'
--- a/debian/rules 2007-06-06 10:19:55 +0000
+++ b/debian/rules 2008-01-01 14:35:06 +0000
@@ -8,7 +8,7 @@
pkgdir = $(CURDIR)/debian/tmp
pcfileversion := $(shell sed -n 's/^Version: //p' mce.pc)
-changelogversion := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
+changelogversion := $(shell dpkg-parsechangelog | sed -n -e 's/.debian//' -e 's/^Version: //p')
upstreamclversion := $(shell echo $(changelogversion) | sed 's/-[^-]*$$//')
ifneq ($(pcfileversion),$(upstreamclversion))
@@ -19,7 +19,7 @@
clean:
dh_testdir
dh_testroot
- -$(MAKE) distclean
+ $(MAKE) distclean
dh_clean
.PHONY: build
More information about the Pkg-maemo-commits
mailing list