Add AdvMakefile and .gitm.toml
This commit is contained in:
4
Makefile
4
Makefile
@@ -6,8 +6,8 @@ all: main.go
|
||||
install: PAK_CFG_MGR ?= apt
|
||||
install: pak.toml pak
|
||||
install -Dm755 pak $(DESTDIR)/usr/bin/pak
|
||||
sed 's/activeManager = ""/activeManager = "$(PAK_CFG_MGR)"/' pak.toml > pak-new.toml
|
||||
install -Dm644 pak-new.toml $(DESTDIR)/etc/pak.toml
|
||||
sed -i 's/activeManager = "\$PKGMANAGER"/activeManager = "$(PAK_CFG_MGR)"/' pak.toml
|
||||
install -Dm644 pak.toml $(DESTDIR)/etc/pak.toml
|
||||
|
||||
installbinonly: pak
|
||||
install -Dm755 pak $(DESTDIR)/usr/bin/pak
|
||||
|
||||
Reference in New Issue
Block a user