summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b062b10..2c4fe7e 100644
--- a/Makefile
+++ b/Makefile
@@ -9,8 +9,12 @@ systemdsystemunitdir :=/etc/systemd/system
all: event-httpd event-httpd.service
-install:
+install: install-bin install-systemd
+
+install-bin:
$(INSTALL) -s -m 755 event-httpd $(sbindir)
+
+install-systemd:
$(INSTALL) -m 644 event-httpd.service $(systemdsystemunitdir)
event-httpd: event-httpd.o resource.o