--- /dev/null
+#!/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:
+
# 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