]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
build: updated apt-update to use new official package rules file
authorAdam Sutton <dev@adamsutton.me.uk>
Fri, 8 Jan 2016 21:40:28 +0000 (21:40 +0000)
committerAdam Sutton <dev@adamsutton.me.uk>
Fri, 8 Jan 2016 21:42:06 +0000 (21:42 +0000)
debian/rules.official [new file with mode: 0755]
support/apt-update

diff --git a/debian/rules.official b/debian/rules.official
new file mode 100755 (executable)
index 0000000..48e3bb5
--- /dev/null
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+export DH_VERBOSE=1
+
+%:
+       dh $@
+
+override_dh_auto_configure:
+       dh_auto_configure -- --enable-libffmpeg_static
+
+override_dh_auto_build:
+       make ${JARGS}
+
+override_dh_strip:
+       dh_strip --dbg-package=tvheadend-dbg
+
+override_dh_auto_install:
+       dh_auto_install --destdir=debian/tvheadend
+
+override_dh_auto_clean:
+  
index 6f048d76f0940568e0f71ef72382e418f1352981..0c898fd49f3682a128fcc804e62d4ea170bb24cb 100755 (executable)
@@ -76,6 +76,9 @@ for b in $TVH_BUILD; do
 
   # Create changelog
   ./support/changelog "$CHANGELOG" "$d" "$VER" || exit 1
+
+  # Override rules file for official builds
+  cp ./debian/rules.official ./debian/rules
   
   # Build source package
   dpkg-buildpackage -d -I.git* -S -sgpg -pgpg || exit 1