build:
	: no build

install:
	mkdir -p $(DESTDIR)/etc/apt/apt.conf.d
	install -Dm644 66eta-unattended-upgrades $(DESTDIR)/etc/apt/apt.conf.d/

	mkdir -p $(DESTDIR)/etc/systemd/system/apt-daily-upgrade.timer.d/
	install -Dm644 10-eta.conf $(DESTDIR)/etc/systemd/system/apt-daily-upgrade.timer.d/

uninstall:
	rm -fr $(DESTDIR)/etc/apt/apt.conf.d/66eta-unattended-upgrades
	rm -fr $(DESTDIR)/etc/systemd/system/apt-daily-upgrade.timer.d/10-eta.conf

.PHONY: install uninstall
