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
ifneq ($(MAKECMDGOALS), clean)
%.h: %.h.in
$(trace-gen) rm -f $@ && ./config.status --quiet --header=$@
%: %.in
$(trace-gen) rm -f $@ && ./config.status --quiet --file=$@
endif