diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-03-28 14:13:18 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-03-28 14:13:18 -0500 |
commit | 4bc22e8b188aa26df8b1a23c39bb0f3c5b05b8b6 (patch) | |
tree | c6f53decaabed9678523a8bbd6a1000a9f3bf78f /ubuntu/raring/metapackages/kubuntu-meta/debian/rules | |
parent | 211d261d7778de1d9a773e7ec43a4e97b4bd7e57 (diff) | |
download | tde-packaging-4bc22e8b188aa26df8b1a23c39bb0f3c5b05b8b6.tar.gz tde-packaging-4bc22e8b188aa26df8b1a23c39bb0f3c5b05b8b6.zip |
Split raring packaging into new directory due to defoma changes
Diffstat (limited to 'ubuntu/raring/metapackages/kubuntu-meta/debian/rules')
-rwxr-xr-x | ubuntu/raring/metapackages/kubuntu-meta/debian/rules | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/ubuntu/raring/metapackages/kubuntu-meta/debian/rules b/ubuntu/raring/metapackages/kubuntu-meta/debian/rules new file mode 100755 index 000000000..2b69924b8 --- /dev/null +++ b/ubuntu/raring/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 |