summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: a53030870ed7273018eed6f5f57becdd78c71faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
if WITH_DOCS

all:

XSLTPROC = xsltproc --xinclude --nonet

XMLS = $(wildcard introspection/nm-*.xml)
# Figure out if we need ASYNC_INTROSPECT and add it later

GENERATED_FILES = \
	docs/spec.html

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
	@install -d docs
	$(XSLTPROC) tools/doc-generator.xsl introspection/all.xml > $@

all: $(GENERATED_FILES)

clean:
	rm -f $(GENERATED_FILES)

endif

SUBDIRS = marshallers

if NO_GIO
SUBDIRS += gfilemonitor
endif

SUBDIRS += \
	   libnm-util			\
	   libnm-glib			\
	   src				\
	   initscript			\
	   test				\
	   po				\
	   man				\
	   include			\
	   introspection	\
	   callouts \
	   system-settings \
	   tools \
	   policy \
	   docs/libnm-glib

EXTRA_DIST =				\
	CONTRIBUTING			\
	NetworkManager.pc.in	\
	intltool-extract.in		\
	intltool-merge.in		\
	intltool-update.in		

DISTCLEANFILES = intltool-extract intltool-merge intltool-update

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = NetworkManager.pc