Add compile
target to Makefile
To make it usable with stock version of `erlang.mk`. I'm trying to use `cf` from withing erlang.mk-based project, but it fails to properly autopatch it. erlang.mk magic works properly when Makefile contains some references to `rebar`. Proper fix will be available within https://github.com/ninenines/erlang.mk/issues/586 But currently it's far more easier to add single target to this project, than to delve into shell script/make spaghetti =)
This commit is contained in:
parent
641d0a009b
commit
2ea1755cf2
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -10,7 +10,10 @@ termcap.erl:
|
||||||
clean:
|
clean:
|
||||||
[ -f termtypes.master ] && rm termtypes.master || true
|
[ -f termtypes.master ] && rm termtypes.master || true
|
||||||
[ -f termtypes.master.clean ] && rm termtypes.master.clean || true
|
[ -f termtypes.master.clean ] && rm termtypes.master.clean || true
|
||||||
|
|
||||||
|
compile:
|
||||||
|
rebar3 compile
|
||||||
|
|
||||||
termtypes.master.clean: termtypes.master
|
termtypes.master.clean: termtypes.master
|
||||||
cat termtypes.master | grep -v '^#' | grep -v '^\s*$$' > termtypes.master.clean
|
cat termtypes.master | grep -v '^#' | grep -v '^\s*$$' > termtypes.master.clean
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue