2020-06-15 23:37:28 +00:00
|
|
|
GOBUILD ?= go build
|
|
|
|
|
2020-11-26 04:40:59 +00:00
|
|
|
pak: main.go
|
|
|
|
$(GOBUILD)
|
2020-02-18 05:02:14 +00:00
|
|
|
|
2021-01-04 03:41:26 +00:00
|
|
|
installbinonly: pak
|
2020-02-18 06:39:10 +00:00
|
|
|
install -Dm755 pak $(DESTDIR)/usr/bin/pak
|
2020-02-18 05:02:14 +00:00
|
|
|
|
2021-01-04 03:41:26 +00:00
|
|
|
aptinstall: install-config.sh pak.toml pak
|
|
|
|
install -Dm644 pak.toml $(DESTDIR)/etc/pak.toml
|
|
|
|
bash install-config.sh apt $(DESTDIR)
|
2020-02-18 05:02:14 +00:00
|
|
|
|
2021-01-04 03:41:26 +00:00
|
|
|
snapinstall: install-config.sh pak.toml pak
|
2020-02-18 06:39:10 +00:00
|
|
|
install -Dm755 pak $(DESTDIR)/usr/bin/pak
|
2021-01-04 03:41:26 +00:00
|
|
|
bash install-config.sh snap $(DESTDIR)
|
2020-02-18 05:02:14 +00:00
|
|
|
|
2021-01-04 03:41:26 +00:00
|
|
|
yayinstall: install-config.sh pak.toml pak
|
2020-02-18 06:39:10 +00:00
|
|
|
install -Dm755 pak $(DESTDIR)/usr/bin/pak
|
2021-01-04 03:41:26 +00:00
|
|
|
bash install-config.sh yay $(DESTDIR)
|
2020-02-18 05:02:14 +00:00
|
|
|
|
2021-01-04 03:41:26 +00:00
|
|
|
pacinstall: install-config.sh pak.toml pak
|
2020-02-18 06:39:10 +00:00
|
|
|
install -Dm755 pak $(DESTDIR)/usr/bin/pak
|
2021-01-04 03:41:26 +00:00
|
|
|
bash install-config.sh pacman $(DESTDIR)
|
2020-02-20 23:39:21 +00:00
|
|
|
|
2021-01-04 03:41:26 +00:00
|
|
|
aptitude: install-config.sh pak.toml pak
|
2020-11-28 02:26:42 +00:00
|
|
|
install -Dm755 pak $(DESTDIR)/usr/bin/pak
|
2021-01-04 03:41:26 +00:00
|
|
|
bash install-config.sh aptitude $(DESTDIR)
|
2020-09-28 04:50:25 +00:00
|
|
|
|
2021-01-04 03:41:26 +00:00
|
|
|
brewinstall: install-config.sh pak.toml pak
|
2020-09-28 04:50:25 +00:00
|
|
|
install -Dm755 pak $(DESTDIR)/usr/bin/pak
|
2021-01-04 03:41:26 +00:00
|
|
|
bash install-config.sh brew $(DESTDIR)
|
2020-10-26 08:12:37 +00:00
|
|
|
|
|
|
|
.PHONY: pak $(MAKECMDGOALS)
|