forked from lix-project/lix
Rebecca Turner
da2f165128
Looks a little nicer when you check the generated sources.
(cherry-picked from commit e65e9114d2797cc4380da218972979dda7395df6)
Change-Id: I91bd185bf12deef72d20fba36178ff42a686c518
Upstream-PR: https://github.com/NixOS/nix/pull/10204
5 lines
121 B
Makefile
5 lines
121 B
Makefile
%.gen.hh: %
|
|
@echo 'R"__NIX_STR(' >> $@.tmp
|
|
$(trace-gen) cat $< >> $@.tmp
|
|
@echo ')__NIX_STR"' >> $@.tmp
|
|
@mv $@.tmp $@
|