diff options
author | Michele Calgaro <[email protected]> | 2019-04-03 22:56:40 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2019-04-03 22:56:40 +0900 |
commit | 11394aecd1f906fee2ebd2b90412aeba4651fbff (patch) | |
tree | bcf750380e6d9fc7dbe524e16bbe2afde25dcfa0 /ubuntu/maverick/metapackages/kubuntu-meta/debian/rules | |
parent | d24bd898174453b586ac90f2ef7a60165fa26fde (diff) | |
download | tde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.tar.gz tde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.zip |
DEB: use _base folder for a distro instead of specific distros (squeeze
and maverick).
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'ubuntu/maverick/metapackages/kubuntu-meta/debian/rules')
-rwxr-xr-x | ubuntu/maverick/metapackages/kubuntu-meta/debian/rules | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/ubuntu/maverick/metapackages/kubuntu-meta/debian/rules b/ubuntu/maverick/metapackages/kubuntu-meta/debian/rules deleted file mode 100755 index 4ab7baa9d..000000000 --- a/ubuntu/maverick/metapackages/kubuntu-meta/debian/rules +++ /dev/null @@ -1,78 +0,0 @@ -#!/usr/bin/make -f - -#export DH_VERBOSE=1 - -DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ - && echo xz || echo bzip2) - -debian/stamp-distrospecific: - dh_testdir - [ -e debian/stamp-distrospecific ] || \ - ls -a1 debian/distrospecific | grep -v "^\.*$$" | \ - tee debian/stamp-distrospecific | \ - tr "\n" "\0" | (cd debian/distrospecific && xargs -r0 mv -t ../..) - -clean: - dh_testdir - [ ! -e debian/stamp-distrospecific ] || \ - cat debian/stamp-distrospecific | \ - tr "\n" "\0" | xargs -r0 mv -t debian/distrospecific - rm -f debian/stamp-distrospecific - dh_clean - rm -rf build-stamp *.old debootstrap-dir - -DEB_BUILD_ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - -build: debian/stamp-distrospecific build-stamp -build-stamp: - dh_clean - - for seed in desktop; do \ - package=kubuntu-$$seed-trinity; \ - echo -n > debian/$$package.substvars; \ - if [ -f $$seed-all ]; then \ - (printf "$$seed-all:Depends="; perl -pe 's/\n/, /g' $$seed-all; echo) \ - >> debian/$$package.substvars; \ - fi; \ - if [ -f $$seed-recommends-all ]; then \ - (printf "$$seed-all:Recommends="; perl -pe 's/\n/, /g' $$seed-recommends-all; echo) \ - >> debian/$$package.substvars; \ - fi; \ - if [ -f $$seed-suggests-all ]; then \ - (printf "$$seed-all:Suggests="; perl -pe 's/\n/, /g' $$seed-suggests-all; echo) \ - >> debian/$$package.substvars; \ - fi; \ - if [ -f $$seed-$(DEB_BUILD_ARCH) ]; then \ - (printf "$$seed-arch:Depends="; perl -pe 's/\n/, /g' $$seed-$(DEB_BUILD_ARCH); echo) \ - >> debian/$$package.substvars; \ - fi; \ - if [ -f $$seed-recommends-$(DEB_BUILD_ARCH) ]; then \ - (printf "$$seed-arch:Recommends="; perl -pe 's/\n/, /g' $$seed-recommends-$(DEB_BUILD_ARCH); echo) \ - >> debian/$$package.substvars; \ - fi; \ - if [ -f $$seed-suggests-$(DEB_BUILD_ARCH) ]; then \ - (printf "$$seed-arch:Suggests="; perl -pe 's/\n/, /g' $$seed-suggests-$(DEB_BUILD_ARCH); echo) \ - >> debian/$$package.substvars; \ - fi; \ - 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 |