mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
Hack to prevent Makefile.config from being regenerated by "make clean"
This commit is contained in:
parent
22c900da08
commit
afbdd55334
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue