Makefile.am 504 Bytes
Newer Older
Iustin Pop's avatar
Iustin Pop committed
1
# standard automake rules
2
SUBDIRS = man lib scripts daemons doc test tools qa
Iustin Pop's avatar
Iustin Pop committed
3

4 5
EXTRA_DIST = NEWS

Iustin Pop's avatar
Iustin Pop committed
6 7 8 9 10 11 12 13 14 15
# custom rules
depgraph: depgraph.png

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

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

depgraph.dot: ganeti/*.py
16 17
	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
18 19

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