#!/usr/bin/make -f ifneq (,$(findstring arm,$(DEB_HOST_ARCH))) export ARCH = arm else export ARCH = i686 endif clean: dh_clean -k build: @echo "Building meta package for Application FW part - arch is $(ARCH)" install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Build architecture-dependent files here. binary-arch: install dh_testdir dh_testroot dh_installchangelogs dh_install --sourcedir=debian/tmp dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-arch .PHONY: binary-arch binary install