diff options
author | Dan Williams <dcbw@redhat.com> | 2009-02-15 11:20:25 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-02-15 11:20:25 -0500 |
commit | 73659e724c80504e2bd581bc9417d26b795597e2 (patch) | |
tree | bd542c6801c26601f89ee6abf1dc2c41ab4f8d7e /docs | |
parent | c100d0d77913d644764186a661a94d2e5bfaa249 (diff) | |
download | NetworkManager-73659e724c80504e2bd581bc9417d26b795597e2.tar.gz |
makefile cleanups
0.7 requires dbus 1.1 or greater (for system bus activation), so make that
explicit, and remove compat code for D-Bus 0.6 and earlier. Consolidate
the various glib pkgconfig checks into one, since most anything will require
gthread, glib, and gobject anyway. Fixup the docs makefile to be more
automake-compatible and let 'make clean' actually work correctly when
docs are built.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Makefile.am | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am new file mode 100644 index 0000000000..220df46621 --- /dev/null +++ b/docs/Makefile.am @@ -0,0 +1,27 @@ +SUBDIRS = libnm-glib libnm-util + +if WITH_DOCS + +XSLTPROC = xsltproc --xinclude --nonet +XMLS = $(wildcard $(top_srcdir)/introspection/nm-*.xml) + +OTHER_FILES= \ + $(top_srcdir)/introspection/all.xml \ + $(top_srcdir)/introspection/generic-types.xml \ + $(top_srcdir)/introspection/errors.xml \ + $(top_srcdir)/introspection/vpn-errors.xml \ + $(top_srcdir)/tools/doc-generator.xsl \ + $(top_srcdir)/introspection/generic-types.xml + +GENERATED_FILES = spec.html + +spec.html: $(XMLS) $(OTHER_FILES) + @install -d docs + $(XSLTPROC) $(top_srcdir)/tools/doc-generator.xsl $(top_srcdir)/introspection/all.xml > $@ + +EXTRA_DIST = $(GENERATED_FILES) + +CLEANFILES = $(GENERATED_FILES) + +endif + |