2008-04-05 Dan Williams <dcbw@redhat.com>
[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            marshallers                  \
26            libnm-util                   \
27            libnm-glib                   \
28            src                          \
29            dispatcher-daemon    \
30            initscript                   \
31            test                         \
32            po                           \
33            man                          \
34            include                      \
35            introspection        \
36            callouts \
37            system-settings \
38            tools
39
40 EXTRA_DIST =                            \
41         CONTRIBUTING                    \
42         NetworkManager.pc.in    \
43         intltool-extract.in             \
44         intltool-merge.in               \
45         intltool-update.in              
46
47 DISTCLEANFILES = intltool-extract intltool-merge intltool-update
48
49 pkgconfigdir = $(libdir)/pkgconfig
50 pkgconfig_DATA = NetworkManager.pc