Makefile.am 598 Bytes
Newer Older
1
SUBDIRS = man lib scripts daemons doc test tools qa
2
EXTRA_DIST = NEWS DEVNOTES
3

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

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

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

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

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

depgraph.dot: ganeti/*.py
21
22
	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
23
24

install-exec-local:
25
26
	@mkdir_p@ "$(DESTDIR)${localstatedir}/lib/ganeti" \
	  "$(DESTDIR)${localstatedir}/log/ganeti"