pak/Makefile

34 lines
911 B
Makefile
Raw Normal View History

GOBUILD ?= go build
2020-11-26 04:40:59 +00:00
pak: main.go
$(GOBUILD)
2020-02-18 05:02:14 +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
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
snapinstall: install-config.sh pak.toml pak
2020-02-18 06:39:10 +00:00
install -Dm755 pak $(DESTDIR)/usr/bin/pak
bash install-config.sh snap $(DESTDIR)
2020-02-18 05:02:14 +00:00
yayinstall: install-config.sh pak.toml pak
2020-02-18 06:39:10 +00:00
install -Dm755 pak $(DESTDIR)/usr/bin/pak
bash install-config.sh yay $(DESTDIR)
2020-02-18 05:02:14 +00:00
pacinstall: install-config.sh pak.toml pak
2020-02-18 06:39:10 +00:00
install -Dm755 pak $(DESTDIR)/usr/bin/pak
bash install-config.sh pacman $(DESTDIR)
aptitude: install-config.sh pak.toml pak
2020-11-28 02:26:42 +00:00
install -Dm755 pak $(DESTDIR)/usr/bin/pak
bash install-config.sh aptitude $(DESTDIR)
2020-09-28 04:50:25 +00:00
brewinstall: install-config.sh pak.toml pak
2020-09-28 04:50:25 +00:00
install -Dm755 pak $(DESTDIR)/usr/bin/pak
bash install-config.sh brew $(DESTDIR)
2020-10-26 08:12:37 +00:00
.PHONY: pak $(MAKECMDGOALS)