summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2012-02-09 00:57:00 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2012-02-09 00:57:00 +0000
commit428214feb6e7f8ac24e64d9c6d8fbd5382bf539a (patch)
tree122689f5952aac7a2d82ba16508a4df2e214dc66 /debian/rules
parent013fde587fae684931759737d450d6e0f45432ef (diff)
parent73711e779f7e763974eea064719f1567d69b5ca3 (diff)
downloadxine-lib-428214feb6e7f8ac24e64d9c6d8fbd5382bf539a.tar.gz
xine-lib-428214feb6e7f8ac24e64d9c6d8fbd5382bf539a.tar.bz2
Merge from 1.1, dropping the README change.
--HG-- rename : debian/dh_xine => debian/dh_xine.in
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules7
1 files changed, 5 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 5d34e792b..a09eb29b0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -102,7 +102,7 @@ update-config-sub-guess:
clean:
dh_testdir
dh_testroot
- rm -f build-stamp configure-stamp po/*.gmo po/stamp-po
+ rm -f build-stamp configure-stamp po/*.gmo po/stamp-po debian/dh_xine
if test -f .noauto; then \
[ ! -f Makefile ] || $(MAKE) distclean; \
else \
@@ -110,7 +110,10 @@ clean:
fi
dh_clean
-install: build
+debian/dh_xine: debian/dh_xine.in
+ sed -e's/@VERSION@/'$(shell dpkg-parsechangelog -c1 | sed -e '/^Version:/! d; s/^.* //; s/-[^-]*$$//')'/' $< >$@
+
+install: build debian/dh_xine
dh_testdir
dh_testroot
dh_clean -k