Merge pull request #1223 from tehnick/fix-make-clean

Makefile: fix make clean target when WINEPREFIX directory doesn't exist
pull/1233/head
Boris Nagaev 8 years ago
commit 58305242a2

@ -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…
Cancel
Save