[SCM] liblo/master: Create README file before running autoreconf

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Fri Aug 18 14:16:50 UTC 2017


The following commit has been merged in the master branch:
commit f2ec6f596d0ca128dde75aa7164dddc2f0f1cacf
Author: Felipe Sateler <fsateler at debian.org>
Date:   Fri Aug 18 11:00:14 2017 -0300

    Create README file before running autoreconf
    
    Otherwise it fails. Also remove it on clean to allow rebuilds to work.

diff --git a/debian/rules b/debian/rules
index d3ae350..7009ab3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,14 @@ include /usr/share/dpkg/default.mk
 
 build: build-arch
 
+override_dh_autoreconf:
+	test -e README || ln -v README.md README
+	dh_autoreconf
+
+override_dh_autoreconf_clean:
+	rm -f README
+	dh_autoreconf_clean
+
 override_dh_auto_configure:
 	test "$(DEB_HOST_ARCH_CPU)" != "sparc"
 	test "$(DEB_HOST_ARCH_CPU)" != "sparc64"

-- 
liblo packaging



More information about the pkg-multimedia-commits mailing list