+ACLOCAL_AMFLAGS = -I autotools
+
SUBDIRS = man lib scripts daemons doc test tools qa
-EXTRA_DIST = NEWS
+EXTRA_DIST = NEWS DEVNOTES
.PHONY: ganeti
ganeti:
pre-check: ganeti
$(MAKE) -C lib $@
+# a dist hook rule for catching revision control directories
+distcheck-hook:
+ if find $(top_distdir) | grep -F -e '.svn' -e '.git'; then \
+ echo "Found revision control files in final archive" 1>&2 ; \
+ exit 1; \
+ fi
+
# custom rules
depgraph: depgraph.png
install-exec-local:
@mkdir_p@ "$(DESTDIR)${localstatedir}/lib/ganeti" \
- "$(DESTDIR)${localstatedir}/log/ganeti"
+ "$(DESTDIR)${localstatedir}/log/ganeti" \
+ "$(DESTDIR)${localstatedir}/run/ganeti"