Deal with case where some products of multiple-file-generating rules are deleted.
This commit is contained in:
parent
b6e942436c
commit
24c8db5c6b
6
Makefile
6
Makefile
@ -104,7 +104,7 @@ all : default release
|
|||||||
echo -> $@
|
echo -> $@
|
||||||
|
|
||||||
node_modules/% : .events/npm
|
node_modules/% : .events/npm
|
||||||
|
$(if $(wildcard $@),,npm install && echo -> $^)
|
||||||
|
|
||||||
.tests_enabled :
|
.tests_enabled :
|
||||||
echo false> .tests_enabled
|
echo false> .tests_enabled
|
||||||
@ -114,7 +114,7 @@ node_modules/% : .events/npm
|
|||||||
echo -> $@
|
echo -> $@
|
||||||
|
|
||||||
tmp/declaration.js : .events/declare
|
tmp/declaration.js : .events/declare
|
||||||
|
$(if $(wildcard $@),,node tools/declare.js && echo -> $^)
|
||||||
|
|
||||||
define concatenate
|
define concatenate
|
||||||
tmp/$1.jst : $$(call sources,$1) $(cat_deps) | tmp
|
tmp/$1.jst : $$(call sources,$1) $(cat_deps) | tmp
|
||||||
@ -227,7 +227,7 @@ dist :
|
|||||||
git worktree add $@ $(distBranch)
|
git worktree add $@ $(distBranch)
|
||||||
|
|
||||||
$(wildcard dist/* dist/*/*) : dist
|
$(wildcard dist/* dist/*/*) : dist
|
||||||
|
@
|
||||||
|
|
||||||
distready : dist $(wildcard dist/* dist/*/*)
|
distready : dist $(wildcard dist/* dist/*/*)
|
||||||
cd dist && git checkout $(distBranch)
|
cd dist && git checkout $(distBranch)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user