On Mon, 2012-06-04 at 12:28 +0200, Bastian Blank wrote: > On Mon, Jun 04, 2012 at 06:21:12AM +0100, Ben Hutchings wrote: > > Index: debian/rules.real > > =================================================================== > > --- debian/rules.real (revision 19077) > > +++ debian/rules.real (working copy) > > @@ -82,18 +91,19 @@ > > $(call patch_cmd,all) > > @$(stamp) > > > > -$(STAMPS_DIR)/source_$(FEATURESET): SOURCE_DIR=$(BUILD_DIR)/source > > -$(STAMPS_DIR)/source_$(FEATURESET): DIR=$(BUILD_DIR)/source_$(FEATURESET) > > -$(STAMPS_DIR)/source_$(FEATURESET): $(STAMPS_DIR)/source > > +$(STAMPS_DIR)/source_%: SOURCE_DIR=$(BUILD_DIR)/source > > +$(STAMPS_DIR)/source_%: DIR=$(BUILD_DIR)/source_$* > > +$(STAMPS_DIR)/source_%: SOURCE_DIR=$(BUILD_DIR)/source > > +$(STAMPS_DIR)/source_%: $(STAMPS_DIR)/source > > You may have to set .SECONDARY: then. Otherwise the stamp file will be > deleted as intermediate. I take your point. However, since we have a target pattern and not a single target, it appears we have to use .PRECIOUS instead. Ben. -- Ben Hutchings The program is absolutely right; therefore, the computer must be wrong.
Attachment:
signature.asc
Description: This is a digitally signed message part