Sort General the same as everything else; automatically generate list.
This commit is contained in:
parent
c9dd702951
commit
f19882e61a
9
Makefile
9
Makefile
@ -23,7 +23,14 @@ template_deps := package.json tools/template.js node_modules/lodash/package.json
|
||||
cat := node tools/cat.js
|
||||
cat_deps := tools/cat.js
|
||||
|
||||
parts := Config platform classes General Archive Filtering Images Linkification Menu Miscellaneous Monitoring Posting Quotelinks Main
|
||||
capitalized = $(filter-out a,$(foreach x,$1,$(subst a $(x),,$(sort a $(x)))))
|
||||
|
||||
parts := \
|
||||
Config platform classes \
|
||||
$(sort $(call capitalized, \
|
||||
$(subst src/,,$(wildcard src/*)) \
|
||||
)) \
|
||||
Main
|
||||
|
||||
intermediate := LICENSE src/meta/fbegin.js tmp/declaration.js tmp/globals.js $(foreach p,$(parts),tmp/$(p).js) src/meta/fend.js
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user