made makefile

This commit is contained in:
Karmanyaah Malhotra
2020-11-06 19:09:04 -05:00
parent 247393466d
commit 58d145dd57

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
ifeq ($(PREFIX),)
PREFIX := /usr
endif
install:
# systemd file
install -d $(DESTDIR)$(PREFIX)/lib/systemd/user/
install gotify-dunst.service $(DESTDIR)$(PREFIX)/lib/systemd/user/
# files in /usr/lib
install -d $(DESTDIR)$(PREFIX)/lib/gotify-dunst/
install main.py $(DESTDIR)$(PREFIX)/lib/gotify-dunst/
install gotify-dunst.conf $(DESTDIR)$(PREFIX)/lib/gotify-dunst/