summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkito <jkito@github>2022-11-13 12:08:19 +0530
committerjkito <jkito@github>2022-11-13 12:08:19 +0530
commitdfb4a03c76c606d750a679a53e5993afb7ca7ad8 (patch)
tree3d56677db7fa6de584e92dc0967c309aee929c2a
parentbf6be255dc05a7ae0e970af1d362bcfd4ca0bf31 (diff)
simplify relink_vendor target for windows
-rw-r--r--Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 6a783c0..9fde5cd 100644
--- a/Makefile
+++ b/Makefile
@@ -126,15 +126,10 @@ relink_vendor:
@echo "VENDOR_PATH: ${VENDOR_PATH}"
@echo "PROVIDER: ${PROVIDER}"
ifeq ($(PLATFORM), windows)
- @rm -rf providers/assets || true
-ifeq ($(MINGW), yes)
+ @rm -rf providers/assets
ifeq ($(VENDOR_PATH), providers)
@cp -r providers/${PROVIDER}/assets providers/assets || true
-endif
-endif # end mingw
-ifeq ($(UNAME), CYGWIN_NT-10.0)
- @[ -L providers/assets ] || cp -r providers/${PROVIDER}/assets providers/assets
-endif # end cygwin
+endif # end windows
else # not windows: linux/osx
ifeq ($(VENDOR_PATH), providers)
@unlink providers/assets || true