[PATCH] Add build-{arch,indep} targets to debian/rules.
Jon Severinsson
jon at severinsson.net
Sat Sep 7 06:55:20 UTC 2013
---
debian/rules | 12 ++++++++----
1 fil ändrad, 8 tillägg(+), 4 borttagningar(-)
diff --git a/debian/rules b/debian/rules
index b6c4c328..c7f81e52 100755
--- a/debian/rules
+++ b/debian/rules
@@ -118,11 +118,14 @@ build-doxy-stamp:
doxygen doc/Doxyfile
touch $@
-build: build-common build-extra build-doxy
build-common: $(addprefix build-stamp-, $(FLAVORS)) debian-shared/tools/qt-faststart
build-extra: $(addprefix build-extra-stamp-, $(filter-out static,$(FLAVORS)))
build-doxy: build-doxy-stamp
+build-indep: build-common build-doxy
+build-arch: build-common build-extra
+build: build-arch build-indep
+
clean:
dh_testdir
rm -f $(addprefix build-stamp-, $(FLAVORS)) \
@@ -180,7 +183,7 @@ install-extra: build-extra
env LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(CURDIR)/debian/tmp-extra/usr/lib/$(DEB_HOST_MULTIARCH)" \
debian/tmp-extra/usr/bin/avconv -codecs | tee debian-extra-shared/codecs-$(DEB_HOST_ARCH).txt
-binary-indep: install-common build-doxy $(DH_INSTALL_FILES)
+binary-indep: build-indep install-common $(DH_INSTALL_FILES)
dh_testdir
dh_testroot
dh_install -i --fail-missing --sourcedir=debian/tmp
@@ -200,7 +203,7 @@ endif
dh_md5sums -i
dh_builddeb -i -- -Zxz
-binary-arch: install-common install-extra $(DH_INSTALL_FILES)
+binary-arch: build-arch install-common install-extra $(DH_INSTALL_FILES)
dh_testdir
dh_testroot
dh_install -a $(addprefix -N,$(LIB_EXTRA_PKGS)) \
@@ -250,7 +253,8 @@ endif
binary: binary-indep binary-arch
-.PHONY: build build-common build-extra build-doxy \
+.PHONY: build build-arch build-indep \
+ build-common build-extra build-doxy \
install install-common install-extra \
binary binary-common binary-indep binary-arch \
clean
--
1.7.10.4
More information about the pkg-multimedia-maintainers
mailing list