aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-11-04 11:19:30 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-11-04 11:19:30 +0100
commit13fd8f76079e7e9a0529754eb834fd93549d5a6b (patch)
tree31f9583db88678b612f61fdd12ee2ecf9a439da6 /Makefile
parent3ea4fd22575e1d7f081b1777809a4aa9b6af8a0c (diff)
downloadpaccache-13fd8f76079e7e9a0529754eb834fd93549d5a6b.tar.gz
paccache-13fd8f76079e7e9a0529754eb834fd93549d5a6b.tar.zst
add configuration file for pacredir
This allows to ignore hosts on specified interfaces and add static hosts.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ffba1c3..c29932e 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ CFLAGS += -O2 -Wall -Werror
CFLAGS += $(shell pkg-config --libs --cflags libcurl)
CFLAGS += $(shell pkg-config --libs --cflags avahi-client)
CFLAGS += $(shell pkg-config --libs --cflags libmicrohttpd)
+CFLAGS += -liniparser
VERSION := $(shell git describe --tags --long 2>/dev/null)
# this is just a fallback in case you do not use git but downloaded
# a release tarball...
@@ -39,6 +40,7 @@ install: install-bin install-doc
install-bin: pacredir
$(INSTALL) -D -m0755 pacredir $(DESTDIR)/usr/bin/pacredir
+ $(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
$(INSTALL) -D -m0644 avahi/pacdbserve.service $(DESTDIR)/etc/avahi/services/pacdbserve.service