Skip to content
Snippets Groups Projects
Commit e626baa9 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

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

parent 373854f6
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment