#!/usr/bin/make -f include ./$(CONFIG) build: binary: binary-arch binary-arch: dh_testdir dh_testroot mkdir -p debian/$(COMPILER_PACKAGE)/scratchbox/compilers cp -a /scratchbox/compilers/$(COMPILER_NAME) debian/$(COMPILER_PACKAGE)/scratchbox/compilers/ set -e; \ for DIR in /scratchbox/device_tools/*/$(COMPILER_NAME); do \ if [ ! -d "$$DIR" ] || [ -L "$$DIR" ] ; then \ cp -dp "$$DIR" debian/$(COMPILER_PACKAGE) ; \ else \ mkdir -p "debian/$(COMPILER_PACKAGE)/$$DIR" ; \ cp -a "$$DIR" `dirname "debian/$(COMPILER_PACKAGE)/$$DIR"` ; \ fi ; \ done dh_installdocs dh_installinit dh_fixperms dh_compress dh_installdebconf dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary-indep: clean: dh_testdir dh_testroot dh_clean .PHONY: build binary binary-arch binary-indep clean