Makefile.am 675 Bytes
Newer Older
1 2
ACLOCAL_AMFLAGS = -I autotools

3
SUBDIRS = man lib scripts daemons doc test tools qa
4
EXTRA_DIST = NEWS DEVNOTES
5

Michael Hanselmann's avatar
Michael Hanselmann committed
6 7 8 9 10 11 12
.PHONY: ganeti
ganeti:
	cd $(top_builddir) && rm -f $@ && $(LN_S) lib $@

pre-check: ganeti
	$(MAKE) -C lib $@

Iustin Pop's avatar
Iustin Pop committed
13 14 15 16 17 18 19 20 21 22
# custom rules
depgraph: depgraph.png

depgraph.png: depgraph.dot
	dot -Tpng -o $@ $<

depgraph.ps: depgraph.dot
	dot -Tps -o $@ $<

depgraph.dot: ganeti/*.py
23 24
	pylint.python2.4 --indent-string '  ' --rcfile=/dev/null \
	  --reports y --int-import-graph $@ --persistent n ganeti >/dev/null
Iustin Pop's avatar
Iustin Pop committed
25 26

install-exec-local:
27
	@mkdir_p@ "$(DESTDIR)${localstatedir}/lib/ganeti" \
28 29
	  "$(DESTDIR)${localstatedir}/log/ganeti" \
	  "$(DESTDIR)${localstatedir}/run/ganeti"