[SCM] ffms2/master: Convert upstream changelog in build step

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Fri Dec 6 14:54:03 UTC 2013


The following commit has been merged in the master branch:
commit d595d8e85b0ae0447bbbc89de8f8a5eeb195f2ed
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Fri Dec 6 15:48:00 2013 +0100

    Convert upstream changelog in build step

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..1b353d6
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+doc/changelog
diff --git a/debian/rules b/debian/rules
index 758cb23..60338cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,11 +7,10 @@ export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
 
 override_dh_auto_build:
 	dh_auto_build -- V=1
+	w3m -dump doc/ffms2-changelog.html > doc/changelog
 
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-shared
 
 override_dh_installchangelogs:
-	w3m -dump doc/ffms2-changelog.html > debian/tmp/changelog
-	dh_installchangelogs debian/tmp/changelog
-	rm -f debian/tmp/changelog
+	dh_installchangelogs doc/changelog

-- 
ffms2 packaging



More information about the pkg-multimedia-commits mailing list