Skip to content
Snippets Groups Projects
Commit 578e2ac7 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Install changes.

- knotd.conf -> knot.sample.conf
parent 5746052f
Branches
Tags
No related merge requests found
......@@ -236,3 +236,4 @@ src/tests/libknot/realdata/libknot_tests_loader_realdata.c
src/tests/libknot/realdata/libknot_tests_loader_realdata.h
src/tests/libknot/libknot/zone_tree_tests.c
src/tests/libknot/libknot/zone_tree_tests.h
samples/Makefile.am
File moved
......@@ -5,20 +5,20 @@ edit = sed \
-e 's|@prefix[@]|$(prefix)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g'
knotd.conf: Makefile
knot.sample.conf: Makefile
rm -f $@ $@.tmp
srcdir=''; \
test -f ./$@.in || srcdir=$(srcdir)/; \
$(edit) $${srcdir}$@.in >$@.tmp
mv $@.tmp $@
knotd.conf: knotd.conf.in
knot.sample.conf: knot.sample.conf.in
install-data-local: knotd.conf
install-data-local: knot.sample.conf
[ -d $(sysconfdir) ] || \
$(INSTALL_DATA) -d $(sysconfdir)
[ -f $(sysconfdir)/knotd.conf ] || \
$(INSTALL_DATA) knotd.conf example.com.zone $(sysconfdir)
[ -f $(sysconfdir)/knot.sample.conf ] || \
$(INSTALL_DATA) knot.sample.conf example.com.zone $(sysconfdir)
clean-local:
rm -f knotd.conf
rm -f knot.sample.conf
File moved
system {
identity "@package@ @version@";
storage "@localstatedir@/@package@";
}
interfaces {
my-iface { address 127.0.0.1@5353; }
}
zones {
example.com {
file "@sysconfdir@/example.com.zone";
}
}
log {
syslog { any warning, error; }
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment