aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2015-06-19 13:25:51 +0200
committerGravatar Christian Hesse <mail@eworm.de>2015-06-19 13:25:51 +0200
commitbabb114b66d3bbdbba9faa69bb1fdbae49f20172 (patch)
tree55b926846a74ccc0e3052f38bac40c985df222da /Makefile
parent390605f72f19c3f5d033a57fd5e98d33fbc0d088 (diff)
downloadjournal-notify-babb114b66d3bbdbba9faa69bb1fdbae49f20172.tar.gz
journal-notify-babb114b66d3bbdbba9faa69bb1fdbae49f20172.tar.zst
update examples and add systemd unit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9230401..e3d117d 100644
--- a/Makefile
+++ b/Makefile
@@ -29,11 +29,12 @@ install: install-bin install-doc
install-bin: journal-notify
$(INSTALL) -D -m0755 journal-notify $(DESTDIR)/usr/bin/journal-notify
- $(INSTALL) -D -m0755 examples/journal-notify-crit-alert-emerg.desktop $(DESTDIR)/usr/share/journal-notify/examples/journal-notify-crit-alert-emerg.desktop
- $(INSTALL) -D -m0755 examples/journal-notify-dhcpd.desktop $(DESTDIR)/usr/share/journal-notify/examples/journal-notify-dhcpd.desktop
- $(INSTALL) -D -m0755 examples/journal-notify-sshd.desktop $(DESTDIR)/usr/share/journal-notify/examples/journal-notify-sshd.desktop
+ $(INSTALL) -D -m0755 desktop/journal-notify-crit-alert-emerg.desktop $(DESTDIR)/usr/share/journal-notify/desktop/journal-notify-crit-alert-emerg.desktop
+ $(INSTALL) -D -m0755 desktop/journal-notify-dhcpd.desktop $(DESTDIR)/usr/share/journal-notify/desktop/journal-notify-dhcpd.desktop
+ $(INSTALL) -D -m0755 desktop/journal-notify-sshd.desktop $(DESTDIR)/usr/share/journal-notify/desktop/journal-notify-sshd.desktop
$(INSTALL) -D -m0755 execute/echo.sh $(DESTDIR)/usr/share/journal-notify/execute/echo.sh
$(INSTALL) -D -m0755 execute/mail.sh $(DESTDIR)/usr/share/journal-notify/execute/mail.sh
+ $(INSTALL) -D -m0755 systemd/journal-notify-sshd.service $(DESTDIR)/usr/share/journal-notify/systemd/journal-notify-sshd.service
install-doc: README.html
$(INSTALL) -D -m0644 README.md $(DESTDIR)/usr/share/doc/journal-notify/README.md