commit 0bb8a53
chld
·
2026-02-07 23:22:08 +0000 UTC
parent a2bdd44
makefile
2 files changed,
+3,
-5
M
Makefile
+1,
-4
1@@ -1,7 +1,4 @@
2 make:
3 go build
4-install: make
5- cp dgr /usr/local/bin/dgr
6-all: make install
7
8-.PHONY: install all
9+.PHONY:
+2,
-1
1@@ -14,7 +14,8 @@ func Inst(pkg string) {
2 pk, _ := filepath.Glob(pkginst + "/*") // globbing final boss
3
4 if len(pk) == 0 {
5- dgr.Die("no files to install in", pkginst, 1)
6+ dgr.Warn("no files to install in", pkginst)
7+ return
8 }
9
10 // iterate over pki to stop symbolic link errors