Commit e626baa9 authored by Ondřej Surý's avatar Ondřej Surý

Don't install conffiles when daemon is not built (resolves #350)

parent 373854f6
......@@ -17,6 +17,8 @@ knot.sample.conf: knot.sample.conf.in
EXTRA_DIST = knot.sample.conf.in example.com.zone
if HAVE_DAEMON
install-data-local: knot.sample.conf
[ -d $(DESTDIR)/$(config_dir) ] || \
$(INSTALL) -d $(DESTDIR)/$(config_dir)
......@@ -29,5 +31,7 @@ uninstall-local:
[ -f $(DESTDIR)/$(config_dir)/example.com.zone ] && \
rm -f $(DESTDIR)/$(config_dir)/example.com.zone
endif # HAVE_DAEMON
clean-local:
rm -f knot.sample.conf
Markdown is supported
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