Merge pull request #1559 from ajaxorg/add-makefile-target
Add a simple incremental Makefile target
This commit is contained in:
commit
fb66d49772
1 changed files with 11 additions and 0 deletions
11
Makefile
11
Makefile
|
|
@ -15,6 +15,17 @@ build: pre_build
|
||||||
./Makefile.dryice.js demo
|
./Makefile.dryice.js demo
|
||||||
./Makefile.dryice.js bm
|
./Makefile.dryice.js bm
|
||||||
|
|
||||||
|
# Minimal build: call Makefile.dryice.js only if our sources changed
|
||||||
|
basic: build/src/ace.js
|
||||||
|
|
||||||
|
build/src/ace.js : ${wildcard lib/*} \
|
||||||
|
${wildcard lib/*/*} \
|
||||||
|
${wildcard lib/*/*/*} \
|
||||||
|
${wildcard lib/*/*/*/*} \
|
||||||
|
${wildcard lib/*/*/*/*/*} \
|
||||||
|
${wildcard lib/*/*/*/*/*/*}
|
||||||
|
./Makefile.dryice.js
|
||||||
|
|
||||||
doc:
|
doc:
|
||||||
cd doc;\
|
cd doc;\
|
||||||
(test -d node_modules && npm update) || npm install;\
|
(test -d node_modules && npm update) || npm install;\
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue