Skip to content

Commit b3013b1

Browse files
committed
Simplife the makefile
1 parent 02d0f79 commit b3013b1

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

Makefile

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -480,18 +480,10 @@ $(JS_DEST): node_modules $(JS_SOURCES)
480480
npx webpack
481481

482482
.PHONY: fomantic
483-
fomantic: $(FOMANTIC_DEST_DIR)
484-
node_modules/fomantic-ui/src: node-check node_modules
485-
486-
# TODO(das7pad): replace with resolve.alias when building fomantic with webpack
487-
node_modules/fomantic-ui/src/theme.config: node_modules/fomantic-ui/src
488-
node_modules/fomantic-ui/src/theme.config: web_src/fomantic/theme.config.less
489-
ifeq (,$(wildcard $@))
490-
cp $< $@
491-
endif
483+
fomantic: node-check $(FOMANTIC_DEST_DIR)
492484

493-
$(FOMANTIC_DEST_DIR): node_modules/fomantic-ui/src
494-
$(FOMANTIC_DEST_DIR): node_modules/fomantic-ui/src/theme.config
485+
$(FOMANTIC_DEST_DIR): node_modules semantic.json web_src/fomantic/theme.config.less
486+
cp web_src/fomantic/theme.config.less node_modules/fomantic-ui/src/theme.config
495487
npx gulp -f node_modules/fomantic-ui/gulpfile.js build
496488

497489
.PHONY: css

0 commit comments

Comments
 (0)