[SCM] libav/master: Use dh_installdocs to install documentation

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Sun May 31 17:36:03 UTC 2015


The following commit has been merged in the master branch:
commit 9ef06584612feda9ad6557566885b07384ecbdde
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Tue May 26 00:50:59 2015 +0200

    Use dh_installdocs to install documentation

diff --git a/debian/libav-tools.docs b/debian/libav-tools.docs
new file mode 100644
index 0000000..28a75d5
--- /dev/null
+++ b/debian/libav-tools.docs
@@ -0,0 +1,2 @@
+doc/APIchanges
+doc/t2h.init
diff --git a/debian/rules b/debian/rules
index e30a529..ac0479f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -140,8 +140,7 @@ install: build $(DH_INSTALL_FILES)
 	install -m 755 -D debian-shared/tools/qt-faststart debian/tmp/usr/bin/qt-faststart
 	dh_install $(addprefix -N,$(LIB_EXTRA_PKGS)) \
 		 --fail-missing --sourcedir=debian/tmp
-	dh_installdocs -a doc/APIchanges
-	install -m 644 -D debian-shared/doc/*.html doc/t2h.init debian/libav-tools/usr/share/doc/libav-tools
+	dh_installdocs -a
 	dh_installexamples -a
 	dh_installchangelogs -a Changelog
 	$(foreach flavor,$(filter-out static,$(FLAVORS)),$(call install_flavor_extra,$(flavor)))

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list