mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-13 08:01:33 +01:00
fix to work when ENV var isn't set too
This commit is contained in:
parent
96a7139e67
commit
929aea14b0
1 changed files with 7 additions and 4 deletions
|
@ -278,13 +278,16 @@ CAB: $(TARGET) $(DLLS)
|
||||||
$(STRIP) $<
|
$(STRIP) $<
|
||||||
(cd $(BUILTDIR); \
|
(cd $(BUILTDIR); \
|
||||||
PATH=../../scripts:$$PATH exe2cab.pl $(notdir $<); \
|
PATH=../../scripts:$$PATH exe2cab.pl $(notdir $<); \
|
||||||
[ -n "$$XW_WWW_PATH" ] && cp $(subst exe,cab,$(notdir $<)) \
|
if test -n "$$XW_WWW_PATH"; then \
|
||||||
$$XW_WWW_PATH \
|
cp $(subst exe,cab,$(notdir $<)) "$$XW_WWW_PATH"; \
|
||||||
|
fi \
|
||||||
)
|
)
|
||||||
for DLL in $(notdir $(DLLS)); do \
|
for DLL in $(notdir $(DLLS)); do \
|
||||||
(cd $(BUILTDIR); PATH=../../scripts:$$PATH dll2cab.pl $$DLL; \
|
(cd $(BUILTDIR); PATH=../../scripts:$$PATH dll2cab.pl $$DLL; \
|
||||||
[ -n "$$XW_WWW_PATH" ] && cp $$DLL $$XW_WWW_PATH; \
|
if test -n "$$XW_WWW_PATH"; then \
|
||||||
); \
|
cp $$DLL "$$XW_WWW_PATH"; \
|
||||||
|
fi \
|
||||||
|
); \
|
||||||
done
|
done
|
||||||
|
|
||||||
SHIP: $(TARGET)
|
SHIP: $(TARGET)
|
||||||
|
|
Loading…
Reference in a new issue