Statistics
| Branch: | Tag: | Revision:

root / Makefile.am @ 6e06b36c

History | View | Annotate | Download (675 Bytes)

1
ACLOCAL_AMFLAGS = -I autotools
2

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

    
6
.PHONY: ganeti
7
ganeti:
8
	cd $(top_builddir) && rm -f $@ && $(LN_S) lib $@
9

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

    
13
# custom rules
14
depgraph: depgraph.png
15

    
16
depgraph.png: depgraph.dot
17
	dot -Tpng -o $@ $<
18

    
19
depgraph.ps: depgraph.dot
20
	dot -Tps -o $@ $<
21

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

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