root / Makefile.am @ b0fc8c89
History | View | Annotate | Download (925 Bytes)
1 | 6e06b36c | Iustin Pop | ACLOCAL_AMFLAGS = -I autotools |
---|---|---|---|
2 | 6e06b36c | Iustin Pop | |
3 | 3b0a97cd | Michael Hanselmann | SUBDIRS = man lib scripts daemons doc test tools qa devel |
4 | 832aef24 | Michael Hanselmann | EXTRA_DIST = NEWS DEVNOTES |
5 | 97a37b3f | Michael Hanselmann | |
6 | 9ff7e35c | Michael Hanselmann | .PHONY: ganeti |
7 | 9ff7e35c | Michael Hanselmann | ganeti: |
8 | 9ff7e35c | Michael Hanselmann | cd $(top_builddir) && rm -f $@ && $(LN_S) lib $@ |
9 | 9ff7e35c | Michael Hanselmann | |
10 | 9ff7e35c | Michael Hanselmann | pre-check: ganeti |
11 | 9ff7e35c | Michael Hanselmann | $(MAKE) -C lib $@ |
12 | ca9fcde5 | Michael Hanselmann | $(MAKE) -C lib/rapi $@ |
13 | 9ff7e35c | Michael Hanselmann | |
14 | 40469086 | Iustin Pop | # a dist hook rule for catching revision control directories |
15 | 40469086 | Iustin Pop | distcheck-hook: |
16 | 40469086 | Iustin Pop | if find $(top_distdir) | grep -F -e '.svn' -e '.git'; then \ |
17 | 40469086 | Iustin Pop | echo "Found revision control files in final archive" 1>&2 ; \ |
18 | 40469086 | Iustin Pop | exit 1; \ |
19 | 40469086 | Iustin Pop | fi |
20 | 40469086 | Iustin Pop | |
21 | a8083063 | Iustin Pop | # custom rules |
22 | a8083063 | Iustin Pop | depgraph: depgraph.png |
23 | a8083063 | Iustin Pop | |
24 | a8083063 | Iustin Pop | depgraph.png: depgraph.dot |
25 | a8083063 | Iustin Pop | dot -Tpng -o $@ $< |
26 | a8083063 | Iustin Pop | |
27 | a8083063 | Iustin Pop | depgraph.ps: depgraph.dot |
28 | a8083063 | Iustin Pop | dot -Tps -o $@ $< |
29 | a8083063 | Iustin Pop | |
30 | a8083063 | Iustin Pop | depgraph.dot: ganeti/*.py |
31 | 47cdf8b9 | Michael Hanselmann | pylint.python2.4 --indent-string ' ' --rcfile=/dev/null \ |
32 | 47cdf8b9 | Michael Hanselmann | --reports y --int-import-graph $@ --persistent n ganeti >/dev/null |
33 | 8925faaa | Iustin Pop | |
34 | 8925faaa | Iustin Pop | install-exec-local: |
35 | 38d9d95d | Michael Hanselmann | @mkdir_p@ "$(DESTDIR)${localstatedir}/lib/ganeti" \ |
36 | 2fa9f1dd | Michael Hanselmann | "$(DESTDIR)${localstatedir}/log/ganeti" \ |
37 | 2fa9f1dd | Michael Hanselmann | "$(DESTDIR)${localstatedir}/run/ganeti" |