diff options
author | Loïc Hoguin <[email protected]> | 2015-09-06 14:12:27 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-09-06 14:12:27 +0200 |
commit | 2d46e2588ed9f0ea8300e5e918b3158397976010 (patch) | |
tree | 3411a268d91a496e86294ba8589ef7a0c8c1934f /test | |
parent | 0f9554a2fc044a477a343771d053083b8a0fc189 (diff) | |
download | erlang.mk-2d46e2588ed9f0ea8300e5e918b3158397976010.tar.gz erlang.mk-2d46e2588ed9f0ea8300e5e918b3158397976010.tar.bz2 erlang.mk-2d46e2588ed9f0ea8300e5e918b3158397976010.zip |
Use a different method to build the generate rule
This one seems to work both here and on CI.
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/Makefile b/test/Makefile index 1820f73..0b72966 100644 --- a/test/Makefile +++ b/test/Makefile @@ -312,10 +312,7 @@ core-app-generate-erl-include: build clean-core-app-generate-erl-include $i "Append rules to the Makefile to generate a .erl module" $t echo "\$$(PROJECT).d:: src/generated.erl" >> $(APP)/Makefile - $t echo "src/generated.erl:: script.sh;" \ - "printf \"%s\\n\"" \ - "\"-module(generated).\"" \ - "\"-include(\\\"included.hrl\\\").\" > \$$@" >> $(APP)/Makefile + $t echo "src/generated.erl:: script.sh; echo \"-module(generated).\" > \$$@; echo \"-include(\\\"included.hrl\\\").\" >> \$$@" >> $(APP)/Makefile $i "Generate the .hrl file" $t mkdir $(APP)/include/ |