You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
908 B
45 lines
908 B
12 years ago
|
#!/usr/bin/make -f
|
||
|
|
||
|
#export DH_VERBOSE=1
|
||
|
|
||
|
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
|
||
|
|
||
|
binary-indep:
|
||
|
|
||
|
binary: binary-indep binary-arch
|
||
|
|
||
|
.PHONY: binary binary-arch binary-indep clean checkroot build
|