Hack to prevent Makefile.config from being regenerated by "make clean"

This commit is contained in:
Eelco Dolstra 2014-09-05 12:08:06 +02:00
parent 22c900da08
commit afbdd55334

View file

@ -8,8 +8,12 @@ define instantiate-template
endef endef
ifneq ($(MAKECMDGOALS), clean)
%.h: %.h.in %.h: %.h.in
$(trace-gen) rm -f $@ && ./config.status --quiet --header=$@ $(trace-gen) rm -f $@ && ./config.status --quiet --header=$@
%: %.in %: %.in
$(trace-gen) rm -f $@ && ./config.status --quiet --file=$@ $(trace-gen) rm -f $@ && ./config.status --quiet --file=$@
endif