root / Makefile.am @ c99a3cc0
History | View | Annotate | Download (895 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 |
# a dist hook rule for catching revision control directories |
14 |
distcheck-hook: |
15 |
if find $(top_distdir) | grep -F -e '.svn' -e '.git'; then \ |
16 |
echo "Found revision control files in final archive" 1>&2 ; \ |
17 |
exit 1; \ |
18 |
fi |
19 |
|
20 |
# custom rules |
21 |
depgraph: depgraph.png |
22 |
|
23 |
depgraph.png: depgraph.dot |
24 |
dot -Tpng -o $@ $< |
25 |
|
26 |
depgraph.ps: depgraph.dot |
27 |
dot -Tps -o $@ $< |
28 |
|
29 |
depgraph.dot: ganeti/*.py |
30 |
pylint.python2.4 --indent-string ' ' --rcfile=/dev/null \ |
31 |
--reports y --int-import-graph $@ --persistent n ganeti >/dev/null |
32 |
|
33 |
install-exec-local: |
34 |
@mkdir_p@ "$(DESTDIR)${localstatedir}/lib/ganeti" \ |
35 |
"$(DESTDIR)${localstatedir}/log/ganeti" \ |
36 |
"$(DESTDIR)${localstatedir}/run/ganeti" |