summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a27b1d7..bd66e11 100644
--- a/Makefile
+++ b/Makefile
@@ -31,11 +31,12 @@ clean:
run: build
./$(OUTPUT)
-install: build
+install:
install -d $(DESTDIR)$(BINDIR)
install -m 0755 $(OUTPUT) $(DESTDIR)$(BINDIR)/$(BINARY)
+ install -d $(DESTDIR)/etc/linum/blocklist
-install-service: install
+install-service:
install -d $(DESTDIR)$(SYSTEMD_DIR)
install -m 0644 etc/linum.service $(DESTDIR)$(SYSTEMD_DIR)/linum.service