~sbaildon/tldevelopment

53bd5b314272d2364229cf57723ec12f266d0931 — Sean Baildon 8 months ago ac2d022
install default resolvers
2 files changed, 6 insertions(+), 1 deletions(-)

M Makefile
A resolver
M Makefile => Makefile +5 -1
@@ 5,11 5,15 @@ DAEMON=$(DAEMON_DIR)/$(PLIST)
.PHONY: configure
configure: _build/$(PLIST)

install: /etc/dnsmasq.conf $(DAEMON)
install: /etc/dnsmasq.conf $(DAEMON) /etc/resolver/test /etc/resolver/localhost /etc/resolver/example

$(DAEMON): _build/$(PLIST)
	install -m 644 $< $(DAEMON)

/etc/resolver/localhost /etc/resolver/test /etc/resolver/example: resolver
	install -d -m 755 $(dir $@)
	install -m 644 $< $@

/etc/dnsmasq.conf: dnsmasq.conf
	install -m 644 $< $@


A resolver => resolver +1 -0
@@ 0,0 1,1 @@
nameserver 127.0.0.1