mirror of https://git.wownero.com/dsc/mxe.git
Makefile: fix make clean target when $$WINEPREFIX directory doesn't exist
This commit is contained in:
parent
62467d9d4d
commit
ad883ac8f9
2
Makefile
2
Makefile
|
@ -620,7 +620,7 @@ BUILD_PKG_TMP_FILES := *-*.list mxe-*.tar.xz mxe-*.deb* wheezy jessie
|
|||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
-chmod 0755 "$$WINEPREFIX"
|
||||
@[ -d "$$WINEPREFIX" ] && chmod 0755 "$$WINEPREFIX" || true
|
||||
rm -rf $(call TMP_DIR,*) $(PREFIX) \
|
||||
$(addprefix $(TOP_DIR)/, $(BUILD_PKG_TMP_FILES))
|
||||
|
||||
|
|
Loading…
Reference in New Issue