Remove print statement from cmdlib
[ganeti-local] / Makefile.am
index bd14289..d3c77e5 100644 (file)
@@ -1,4 +1,6 @@
-SUBDIRS = man lib scripts daemons doc test tools qa
+ACLOCAL_AMFLAGS = -I autotools
+
+SUBDIRS = man lib scripts daemons doc test tools qa devel
 EXTRA_DIST = NEWS DEVNOTES
 
 .PHONY: ganeti
@@ -7,6 +9,14 @@ ganeti:
 
 pre-check: ganeti
        $(MAKE) -C lib $@
+       $(MAKE) -C lib/rapi $@
+
+# 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