[SCM] x264 packaging branch, ubuntu, updated. debian/0.85.1442.1+git781d30-1-8-g39cb705
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Sun Feb 21 11:18:06 UTC 2010
The following commit has been merged in the ubuntu branch:
commit 1ef480b6b2bb7de39f8cdd7aa24567f62ccc6589
Author: Loïc Minier <lool at dooz.org>
Date: Sun Feb 21 11:50:25 2010 +0100
Cleanup rules; now -j safe
diff --git a/debian/rules b/debian/rules
index e5dc3b4..ff44f91 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,7 @@
#!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
include /usr/share/quilt/quilt.make
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
@@ -39,37 +33,30 @@ endif
build: build-stamp
build-stamp: debian/stamp-patched
dh_testdir
-
# fix version.sh for the debian package
mv version.sh version.sh-upstream
cp debian/debian-version.sh version.sh
chmod +x version.sh
-
# Build static lib
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure $(static_confflags)
$(MAKE) -j $(NCPUS) libx264.a
-
# Backup static lib
mv libx264.a libx264.a.bak
-
# Build shared lib
- $(MAKE) clean
-
+ $(MAKE) -j $(NCPUS) clean
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure $(shared_confflags)
$(MAKE) -j $(NCPUS)
-
# Restore static lib
mv libx264.a.bak libx264.a
mv version.sh-upstream version.sh
-
touch $@
-clean: clean-real unpatch
-clean-real:
+clean:
dh_testdir
dh_testroot
[ ! -f Makefile ] || $(MAKE) distclean
[ ! -f version.sh-upstream ] || mv version.sh-upstream version.sh
+ $(MAKE) -f debian/rules unpatch
dh_clean build-stamp libx264.a.bak
install:
--
x264 packaging
More information about the pkg-multimedia-commits
mailing list