[SCM] mplayer/master: overwrite the upstream VERSION file only if upstream did not already ship it
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jan 20 14:43:56 UTC 2013
The following commit has been merged in the master branch:
commit dcd42f77653859d53eb400a9c48bd3340990f986
Author: Reinhard Tartler <siretart at tauware.de>
Date: Sat Jan 19 16:18:09 2013 +0100
overwrite the upstream VERSION file only if upstream did not already ship it
diff --git a/debian/rules b/debian/rules
index bbea99e..772ccb2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -101,6 +101,7 @@ build: build-arch build-indep
build-arch:
dh_testdir
dh_prep -a
+ test -f VERSION || \
echo "svn r$(SVN_VERSION) ($(DEB_VENDOR)), built with gcc" > VERSION
$(MAKE) -f debian/rules debian/mplayer/usr/bin/mplayer
$(MAKE) -f debian/rules debian/mencoder/usr/bin/mencoder
@@ -171,7 +172,6 @@ install-indep: build-indep
clean:
dh_testdir
dh_testroot
- dh_clean VERSION
-test -f config.mak && $(MAKE) distclean
# Build architecture-independent packages
--
mplayer packaging
More information about the pkg-multimedia-commits
mailing list