summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/metapackages/kubuntu-meta/debian/rules
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-01-03 22:47:53 +0100
committerFrancois Andriot <francois.andriot@free.fr>2013-01-03 22:47:53 +0100
commitd2f32337f00cf98faef8475e769d9c0381efd257 (patch)
tree9890ceb134945c4f24e624dca8ac4fa03888a979 /ubuntu/maverick/metapackages/kubuntu-meta/debian/rules
parentb566058ccb7fa94c6e34fb1e1349b093d4482d6a (diff)
parentfe7329f1eaa98f63b62e23449bb1345b3395ed37 (diff)
downloadtde-packaging-d2f32337f00cf98faef8475e769d9c0381efd257.tar.gz
tde-packaging-d2f32337f00cf98faef8475e769d9c0381efd257.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/maverick/metapackages/kubuntu-meta/debian/rules')
-rwxr-xr-xubuntu/maverick/metapackages/kubuntu-meta/debian/rules47
1 files changed, 47 insertions, 0 deletions
diff --git a/ubuntu/maverick/metapackages/kubuntu-meta/debian/rules b/ubuntu/maverick/metapackages/kubuntu-meta/debian/rules
new file mode 100755
index 000000000..2b69924b8
--- /dev/null
+++ b/ubuntu/maverick/metapackages/kubuntu-meta/debian/rules
@@ -0,0 +1,47 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+clean:
+ dh_testdir
+ dh_clean
+
+ rm -rf build-stamp *.old debootstrap-dir
+
+DEB_BUILD_ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+build: build-stamp
+build-stamp: desktop-$(DEB_BUILD_ARCH)
+ dh_clean
+
+ for seed in desktop; do \
+ package=kubuntu-$$seed; \
+ (printf "$$package:Depends="; perl -pe 's/\n/, /g' $$seed-$(DEB_BUILD_ARCH); echo) \
+ >> debian/$$package.substvars; \
+ (printf "$$package:Recommends="; perl -pe 's/\n/, /g' $$seed-recommends-$(DEB_BUILD_ARCH); echo) \
+ >> debian/$$package.substvars; \
+ done
+ touch $@
+
+install: build-stamp
+
+binary-arch: install
+ dh_testdir -a
+ dh_testroot -a
+ dh_installdocs -a
+ dh_installchangelogs -a
+ dh_compress -a
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a $(DEB_DH_BUILDDEB_ARGS)
+
+binary-indep:
+
+binary: binary-indep binary-arch
+
+.PHONY: binary binary-arch binary-indep clean checkroot build