2008-05-11 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 = marshallers
25
26 if NO_GIO
27 SUBDIRS += gfilemonitor
28 endif
29
30 SUBDIRS += \
31            libnm-util                   \
32            libnm-glib                   \
33            src                          \
34            initscript                   \
35            test                         \
36            po                           \
37            man                          \
38            include                      \
39            introspection        \
40            callouts \
41            system-settings \
42            tools \
43            policy
44
45 EXTRA_DIST =                            \
46         CONTRIBUTING                    \
47         NetworkManager.pc.in    \
48         intltool-extract.in             \
49         intltool-merge.in               \
50         intltool-update.in              
51
52 DISTCLEANFILES = intltool-extract intltool-merge intltool-update
53
54 pkgconfigdir = $(libdir)/pkgconfig
55 pkgconfig_DATA = NetworkManager.pc