Skip to content

Commit 43335b3

Browse files
committed
Fix remove hard dependency when copying files for dist
This way make doesn't try to recompile libraries when not needed
1 parent b5a1e25 commit 43335b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,12 @@ plugin/luasrcdiet/%.lua: lib/luasrcdiet/luasrcdiet/%.lua | plugin/luasrcdiet
175175
plugin/luasrcdiet/%: lib/luasrcdiet/% | plugin/luasrcdiet
176176
cp $< $@
177177

178-
build/$(GDNLIB_ENTRY_PREFIX)/%: %
178+
build/$(GDNLIB_ENTRY_PREFIX)/%:
179179
@mkdir -p $(dir $@)
180-
cp $< $@
180+
cp $* $@
181181
$(addprefix build/,$(DIST_SRC)): | build
182182
cp $(notdir $@) $@
183-
build/lua_pluginscript.zip: $(DIST_DEST)
183+
build/lua_pluginscript.zip: $(LUASRCDIET_DEST) $(DIST_DEST)
184184
cd build && zip lua_pluginscript $(DIST_ZIP_SRC)
185185
build/project.godot: src/tools/project.godot | build
186186
cp $< $@

0 commit comments

Comments
 (0)