Skip to content

Commit 1764412

Browse files
committed
fix makefile
1 parent 07d0b71 commit 1764412

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -487,10 +487,9 @@ node_modules/fomantic-ui/src: node-check node_modules
487487
# TODO(das7pad): replace with resolve.alias when building fomantic with webpack
488488
node_modules/fomantic-ui/src/theme.config: node_modules/fomantic-ui/src
489489
node_modules/fomantic-ui/src/theme.config: web_src/fomantic/theme.config.less
490-
@diff=$$(diff '$<' '$@'); \
491-
if [ -n "$$diff" ]; then \
492-
cp -f $< $@; \
493-
fi;
490+
ifeq (,$(wildcard $@))
491+
cp $< $@
492+
endif
494493

495494
$(FOMANTIC_DEST_DIR): node_modules/fomantic-ui/src
496495
$(FOMANTIC_DEST_DIR): node_modules/fomantic-ui/src/theme.config

0 commit comments

Comments
 (0)