We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
install_dlls
1 parent ec84197 commit 6094158Copy full SHA for 6094158
Makefile
@@ -83,6 +83,13 @@ install: bin/shards$(EXE) man/shards.1.gz man/shard.yml.5.gz
83
$(INSTALL) -m 0644 man/shards.1.gz "$(MANDIR)/man1"
84
$(INSTALL) -m 0644 man/shard.yml.5.gz "$(MANDIR)/man5"
85
86
+ifeq ($(WINDOWS),1)
87
+.PHONY: install_dlls
88
+install_dlls: bin/shards$(EXE) ## Install the dependent DLLs at DESTDIR (Windows only)
89
+ $(INSTALL) -d -m 0755 "$(BINDIR)/"
90
+ @ldd bin/shards$(EXE) | grep -iv ' => /c/windows/system32' | sed 's/.* => //; s/ (.*//' | xargs -t -i $(INSTALL) -m 0755 '{}' "$(BINDIR)/"
91
+endif
92
+
93
.PHONY: uninstall
94
uninstall: ## Uninstall shards
95
uninstall:
0 commit comments