summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/libraries/mlt/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-16 01:55:07 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-16 01:55:07 +0200
commit27db9395460b4fb8919d5f725e84fa24704803aa (patch)
treefbd9ff9c6a9735cefa9c0b9d239be2a529d24f6b /ubuntu/maverick/libraries/mlt/debian/rules
parentf24915471ea396c53670df51b2affc4af74373bf (diff)
downloadtde-packaging-27db9395460b4fb8919d5f725e84fa24704803aa.tar.gz
tde-packaging-27db9395460b4fb8919d5f725e84fa24704803aa.zip
Fix quilt conversion issues on Debian and Ubuntu
Diffstat (limited to 'ubuntu/maverick/libraries/mlt/debian/rules')
-rwxr-xr-xubuntu/maverick/libraries/mlt/debian/rules13
1 files changed, 7 insertions, 6 deletions
diff --git a/ubuntu/maverick/libraries/mlt/debian/rules b/ubuntu/maverick/libraries/mlt/debian/rules
index ce607fb77..cca48ead0 100755
--- a/ubuntu/maverick/libraries/mlt/debian/rules
+++ b/ubuntu/maverick/libraries/mlt/debian/rules
@@ -44,11 +44,14 @@ ifeq "$(DEBIAN_ARCH)" "amd64"
CONFIGURE_OPTS = --enable-motion-est
endif
-configure: configure-stamp
-configure-stamp:
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+post-patches::
dh_testdir
- QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+configure: configure-stamp
+configure-stamp: post-patches
+ dh_testdir
CFLAGS="$(CFLAGS)" PATH=/opt/trinity/bin:$(PATH) LD_LIBRARY_PATH=/opt/trinity/lib:$(LD_LIBRARY_PATH) CMAKE_LIBRARY_PATH=/opt/trinity/lib CMAKE_INCLUDE_PATH=/opt/trinity/include/tde ./configure --enable-gpl \
--luma-compress --disable-mmx $(CONFIGURE_OPTS) \
@@ -65,15 +68,13 @@ build-stamp:
touch build-stamp
-clean:
+clean::
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
[ ! -f config.mak ] || $(MAKE) dist-clean
- QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
-
dh_clean *.pc src/modules/gtk2/config.h config.log
find -name config.mak | xargs -r rm