diff options
author | Loïc Hoguin <[email protected]> | 2019-03-06 18:45:26 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-03-06 18:50:15 +0100 |
commit | 4901e4da63cf061b57d66c39645797179c2ba179 (patch) | |
tree | b1dac96ab3e7ef9616e21c7393b377681a7e3e53 | |
parent | f317200563bf3b7547cbca6b825fd6bee50a6528 (diff) | |
download | asciideck-4901e4da63cf061b57d66c39645797179c2ba179.tar.gz asciideck-4901e4da63cf061b57d66c39645797179c2ba179.tar.bz2 asciideck-4901e4da63cf061b57d66c39645797179c2ba179.zip |
Use mklink on Windows for the groff tests
This fixes errors due to long paths I get in BuildKite.
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -44,7 +44,12 @@ $(ERLANG_MK_TMP)/groff/$1: | $(ERLANG_MK_TMP)/groff $(verbose) rm -rf $$@ $(verbose) git clone -q --depth 1 -- $(call dep_repo,$1) $$@ $(verbose) mkdir $$@/deps +ifeq ($(PLATFORM),msys2) + $(verbose) cmd //c mklink $(call core_native_path,$(ERLANG_MK_TMP)/groff/$1/deps/asciideck) \ + $(call core_native_path,$(CURDIR)) +else $(verbose) ln -s $(CURDIR) $$@/deps/asciideck +endif $(verbose) touch $$@/deps/ci.erlang.mk $(verbose) cp $(CURDIR)/erlang.mk $$@/ |