1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
#!/usr/bin/make -f
ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
build:
clean:
dh_testdir
dh_testroot
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_install autopartition bin
dh_install perform_recipe bin
dh_install auto-shared.sh recipes.sh lib/partman
if [ -d recipes-$(ARCH) ]; then \
debian/install-rc recipes-$(ARCH); \
else \
debian/install-rc recipes; \
fi
for sub in recipes-$(ARCH)-*; do \
if [ -d "$$sub" ]; then \
debian/install-rc $$sub; \
fi; \
done
ifeq ($(ARCH),powerpc)
# temporary hack until chrp_rs6k goes away entirely
rm -rf debian/partman-auto/lib/partman/recipes-powerpc-chrp_rs6k
dh_link lib/partman/recipes-powerpc-chrp_ibm \
lib/partman/recipes-powerpc-chrp_rs6k
endif
debian/install-rc choose_partition
debian/install-rc free_space
debian/install-rc automatically_partition
debian/install-rc auto.d
binary-arch: build install
dh_testdir
dh_testroot
dh_installdebconf
dh_fixperms
dh_installdeb
dh_gencontrol
dh_builddeb
binary-indep: build install
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
|