From 980b0b077cb894b4e7e307a002d8525ad1738b27 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 11 Nov 2008 21:31:14 +0000 Subject: Update CDBS snippet makefile.mk: Cleanup check stamp dir for flavored builds. Fixing failure to build twice in a row. --- (limited to 'debian') diff --git a/debian/cdbs/1/class/makefile.mk b/debian/cdbs/1/class/makefile.mk index 86b1175..7a50962 100644 --- a/debian/cdbs/1/class/makefile.mk +++ b/debian/cdbs/1/class/makefile.mk @@ -74,7 +74,7 @@ $(cdbs_make_check_stamps) : debian/stamp-makefile-check% : debian/stamp-makefile $(if $(DEB_MAKE_CHECK_TARGET),touch $@) makefile-clean:: - $(if $(DEB_MAKE_CHECK_TARGET),rm -f debian/stamp-makefile-check) + $(if $(DEB_MAKE_CHECK_TARGET),$(if $(cdbs_make_multibuilds),-rmdir --ignore-fail-on-non-empty debian/stamp-makefile-check,rm -f debian/stamp-makefile-check)) $(cdbs_make_clean_nonstamps):: $(if $(cdbs_make_multibuilds),rm -f $(@:makefile-clean%=debian/stamp-makefile-check%)) -- cgit v0.9.1