include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk INSTALL_TARGETS := $(foreach pkg,$(DEB_ALL_PACKAGES),install/$(pkg)) MAKEBUILDDIR_TARGETS := $(foreach pkg,$(DEB_ALL_PACKAGES),makebuilddir/$(pkg)) # scratchbox currently supports only compat level 5, and # got this rule file only working on compat 4. This uses # "debian/*.files" and "dh_movefiles". On compat 7, this # special target can be removed and package should use # only "debian/*.install" files (no "debian/*.files"!). # single package does not use debian/tmp on compat 4 #$(INSTALL_TARGETS):: # dh_movefiles -p$(notdir $@) clean:: -rm debian/configure-stamp $(MAKEBUILDDIR_TARGETS):: debian/configure-stamp debian/configure-stamp: [ ! -f Makefile ] || $(MAKE) distclean autoreconf -i -f -s touch $@