pak/Makefile

39 lines
1.1 KiB
Makefile
Raw Normal View History

GOBUILD ?= go build
2020-11-26 04:40:59 +00:00
pak: main.go
$(GOBUILD)
2020-11-26 04:41:17 +00:00
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: pak.cfg pak
2020-02-18 06:39:10 +00:00
install -Dm644 pak.cfg $(DESTDIR)/etc/pak.cfg
install -Dm755 pak $(DESTDIR)/usr/bin/pak
2020-02-18 05:02:14 +00:00
snapinstall: plugins/snap/pak.cfg pak
2020-02-18 06:39:10 +00:00
install -Dm644 plugins/snap/pak.cfg $(DESTDIR)/etc/pak.cfg
install -Dm755 pak $(DESTDIR)/usr/bin/pak
2020-02-18 05:02:14 +00:00
yayinstall: plugins/yay/pak.cfg pak
2020-02-18 06:39:10 +00:00
install -Dm644 plugins/yay/pak.cfg $(DESTDIR)/etc/pak.cfg
install -Dm755 pak $(DESTDIR)/usr/bin/pak
2020-02-18 05:02:14 +00:00
pacinstall: plugins/pacman/pak.cfg pak
2020-02-18 06:39:10 +00:00
install -Dm644 plugins/pacman/pak.cfg $(DESTDIR)/etc/pak.cfg
install -Dm755 pak $(DESTDIR)/usr/bin/pak
2020-02-18 05:02:14 +00:00
aptitude: plugins/aptitude/pak.cfg pak
2020-02-18 06:39:10 +00:00
install -Dm644 plugins/aptitude/pak.cfg $(DESTDIR)/etc/pak.cfg
install -Dm755 pak $(DESTDIR)/usr/bin/pak
brewinstall: plugins/brew/pak.cfg pak
mount -uw /
install -m644 plugins/brew/pak.cfg $(DESTDIR)/etc/pak.cfg
2020-09-28 04:50:25 +00:00
install -m755 pak $(DESTDIR)/usr/bin/pak
zyppinstall: plugins/zypper/pak.cfg pak
install -Dm644 plugins/zypper/pak.cfg $(DESTDIR)/etc/pak.cfg
install -Dm755 pak $(DESTDIR)/usr/bin/pak
2020-10-26 08:12:37 +00:00
.PHONY: pak $(MAKECMDGOALS)