aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Oleksandr Usov <a.s.usov@gmail.com>2025-11-10 01:22:58 +0000
committerGravatar Christian Hesse <mail@eworm.de>2025-11-10 07:21:18 +0100
commitfa88e98c9eb6383c3371a500d53b5ed3a6a20c74 (patch)
treeef555b4fd0bce14ebc6e7c466b14350b1291727e
parentb64756491b7df2ef1a0aeebc9f7e8b659e25f97c (diff)
downloadudp514-journal-main.tar.gz
udp514-journal-main.tar.zst
Install systemd units separatelyHEADnextmain
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4776e90..803f50c 100644
--- a/Makefile
+++ b/Makefile
@@ -28,10 +28,12 @@ udp514-journal: udp514-journal.c udp514-journal.h version.h
README.html: README.md
$(MD) README.md > README.html
-install: install-bin install-doc
+install: install-bin install-doc install-units
install-bin: udp514-journal
$(INSTALL) -D -m0755 udp514-journal $(DESTDIR)/usr/bin/udp514-journal
+
+install-units:
$(INSTALL) -D -m0644 udp514-journal.service $(DESTDIR)/usr/lib/systemd/system/udp514-journal.service
$(INSTALL) -D -m0644 udp514-journal.socket $(DESTDIR)/usr/lib/systemd/system/udp514-journal.socket