[SCM] mplayer packaging branch, ubuntu, updated. debian/1.0.rc3++final-0ubuntu2

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Thu Jun 3 13:06:46 UTC 2010


The following commit has been merged in the ubuntu branch:
commit 2616f099682724fe544fb1a7aff3893575ce8d4f
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Thu Jun 3 09:56:07 2010 +0200

    build HTML documentation only if not already avaiable in the build tree

diff --git a/debian/rules b/debian/rules
index 4dc8aba..620e22b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -139,13 +139,18 @@ debian/mplayer-gui/usr/bin/gmplayer:
 install-arch: build-arch
 
 ###### build-indep
+DOCS/HTML/en/index.html:
+	sh debian/all-lang-config-mak.sh > config.mak
+	cd DOCS/xml && ./configure
+	$(MAKE) -C DOCS/xml html-chunked
 
 build-indep:
 	dh_testdir
-#	disable for release tarballs
-#	sh debian/all-lang-config-mak.sh > config.mak
-#	cd DOCS/xml && ./configure
-#	$(MAKE) -C DOCS/xml html-chunked
+	dh_prep -i
+	test ! -f DOCS/HTML/en/index.html || $(MAKE) debian/rules DOCS/HTML/en/index.html
+
+# commands to compile the documentation
+install-indep: build-indep
 	dh_installchangelogs -i
 	dh_installdocs -i
 	dh_compress -i

-- 
mplayer packaging



More information about the pkg-multimedia-commits mailing list