summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-01-31 13:22:23 +0100
committerGravatar Christian Hesse <mail@eworm.de>2016-01-31 13:22:23 +0100
commit746c60ac83cce35c994fc2210040dc80d2f45da6 (patch)
tree405be7c5dd3fc56a77396cf4d4dda6c8918bac57 /Makefile
parent7af3833b4f71f5060373eb15dc995c1dd685eeb5 (diff)
downloadpaccache-746c60ac83cce35c994fc2210040dc80d2f45da6.tar.gz
paccache-746c60ac83cce35c994fc2210040dc80d2f45da6.tar.zst
use symlinks for pacserve and pacdbserve
This adds the service names to log, not just 'darkhttpd'.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 537de70..e985df8 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@ MD := markdown
INSTALL := install
CP := cp
RM := rm
+LN := ln
SED := sed
CFLAGS += -std=c11 -O2 -Wall -Werror
CFLAGS += -lpthread
@@ -43,6 +44,8 @@ install: install-bin install-doc
install-bin: pacredir
$(INSTALL) -D -m0755 pacredir $(DESTDIR)$(PREFIX)/bin/pacredir
+ $(LN) -s darkhttpd $(DESTDIR)$(PREFIX)/bin/pacserve
+ $(LN) -s darkhttpd $(DESTDIR)$(PREFIX)/bin/pacdbserve
$(INSTALL) -D -m0644 pacredir.conf $(DESTDIR)/etc/pacredir.conf
$(INSTALL) -D -m0644 pacman/paccache $(DESTDIR)/etc/pacman.d/paccache
$(INSTALL) -D -m0644 avahi/pacserve.service $(DESTDIR)/etc/avahi/services/pacserve.service