diff options
author | Russell King <rmk@armlinux.org.uk> | 2021-04-16 15:08:37 +0100 |
---|---|---|
committer | Russell King <rmk@armlinux.org.uk> | 2021-04-16 15:08:37 +0100 |
commit | 2a19a0659cf3ce87ff51c20afe5bc16482e4bdf8 (patch) | |
tree | aba613b80176a1ca3bb53f9f8bc9c08f60b18115 /Makefile | |
parent | 9d7b0311d5948fca09b19dbe27e5f506e2e303e0 (diff) |
build: split install target
Split the install target into two separate rules so we can install just
the binary for updates.
Signed-off-by: Russell King <rmk@armlinux.org.uk>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |