Skip to content

Commit 8311c78

Browse files
committed
Can't symlink directories on windows only files
And the "symlink" files is just a compability hack that does copies anyway, real file links require admin privileges... Signed-off-by: Anders F Björklund <[email protected]>
1 parent 6e8fcc6 commit 8311c78

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ binaries: clean \
3434
cp -aL examples _output/share/lima
3535
mkdir -p _output/share/doc/lima
3636
cp -aL *.md LICENSE docs _output/share/doc/lima
37+
ifneq ($(GOOS),windows)
3738
ln -sf ../../lima/examples _output/share/doc/lima
39+
else
40+
cp -aL examples _output/share/doc/lima
41+
endif
3842
echo $(VERSION) > _output/share/doc/lima/VERSION
3943

4044
.PHONY: _output/bin/lima

0 commit comments

Comments
 (0)