Distribute doc tools too
[NetworkManager.git] / Makefile.am
1 if WITH_DOCS
2
3 all:
4
5 XSLTPROC = xsltproc --xinclude --nonet
6
7 XMLS = $(wildcard introspection/nm-*.xml)
8 # Figure out if we need ASYNC_INTROSPECT and add it later
9
10 GENERATED_FILES = \
11         docs/spec.html
12
13 docs/spec.html: $(XMLS) introspection/all.xml introspection/generic-types.xml introspection/errors.xml introspection/vpn-errors.xml tools/doc-generator.xsl introspection/generic-types.xml
14         @install -d docs
15         $(XSLTPROC) tools/doc-generator.xsl introspection/all.xml > $@
16
17 all: $(GENERATED_FILES)
18
19 clean:
20         rm -f $(GENERATED_FILES)
21
22 endif
23
24 SUBDIRS =                               \
25            libnm-util                   \
26            libnm-glib                   \
27            src                          \
28            dispatcher-daemon    \
29            initscript                   \
30            test                         \
31            po                           \
32            man                          \
33            include                      \
34            introspection        \
35            callouts \
36            system-settings \
37            tools
38
39 EXTRA_DIST =                            \
40         CONTRIBUTING                    \
41         NetworkManager.pc.in    \
42         intltool-extract.in             \
43         intltool-merge.in               \
44         intltool-update.in              
45
46 DISTCLEANFILES = intltool-extract intltool-merge intltool-update
47
48 pkgconfigdir = $(libdir)/pkgconfig
49 pkgconfig_DATA = NetworkManager.pc