root / Makefile.am @ 57d0151e
History | View | Annotate | Download (931 Bytes)
1 | 6e06b36c | Iustin Pop | ACLOCAL_AMFLAGS = -I autotools |
---|---|---|---|
2 | 6e06b36c | Iustin Pop | |
3 | 94f3875d | 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 | 65a6f9b7 | Michael Hanselmann | $(MAKE) -C lib/hypervisor $@ |
13 | 9ff7e35c | Michael Hanselmann | |
14 | b6f2e47f | Iustin Pop | # a dist hook rule for catching revision control directories |
15 | b6f2e47f | Iustin Pop | distcheck-hook: |
16 | b6f2e47f | Iustin Pop | if find $(top_distdir) | grep -F -e '.svn' -e '.git'; then \ |
17 | b6f2e47f | Iustin Pop | echo "Found revision control files in final archive" 1>&2 ; \ |
18 | b6f2e47f | Iustin Pop | exit 1; \ |
19 | b6f2e47f | Iustin Pop | fi |
20 | b6f2e47f | 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" |