diff options
| author | Michael Biebl <biebl@debian.org> | 2013-02-09 03:16:54 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2013-02-09 03:16:54 +0100 |
| commit | e17c5736fc3722ce51cb33f3edb203960125a4c1 (patch) | |
| tree | 2b41ee92b307915e9d97f0ef2c012fc793653599 /docs/api/Makefile.am | |
| parent | 9c202e3e860b3be9e1f8882630b69affbb130102 (diff) | |
Imported Upstream version 0.9.7.997 upstream/0.9.7.997
Diffstat (limited to 'docs/api/Makefile.am')
| -rw-r--r-- | docs/api/Makefile.am | 35 |
1 files changed, 6 insertions, 29 deletions
diff --git a/docs/api/Makefile.am b/docs/api/Makefile.am index ba98f168..d98dc786 100644 --- a/docs/api/Makefile.am +++ b/docs/api/Makefile.am @@ -1,30 +1,7 @@ -GENERATE_SETTINGS_SPEC_SOURCE = generate-settings-spec.c - AUTOMAKE_OPTIONS = 1.7 if ENABLE_DOC -INCLUDES = \ - -I$(top_srcdir)/include \ - -I$(top_builddir)/include \ - -I$(top_srcdir)/libnm-util \ - -I$(top_builddir)/libnm-util - -noinst_PROGRAMS = \ - generate-settings-spec - -generate_settings_spec_SOURCES = \ - $(GENERATE_SETTINGS_SPEC_SOURCE) - -generate_settings_spec_CPPFLAGS = \ - $(GLIB_CFLAGS) \ - $(DBUS_CFLAGS) - -generate_settings_spec_LDADD = \ - $(top_builddir)/libnm-util/libnm-util.la \ - $(GLIB_LIBS) \ - $(DBUS_LIBS) - XSLTPROC = xsltproc --xinclude --nonet XMLS = $(wildcard $(top_srcdir)/introspection/nm-*.xml) @@ -43,9 +20,10 @@ spec.html: $(XMLS) $(OTHER_FILES) html-build.stamp mkdir -p $(builddir)/html/ cp $@ $(builddir)/html/ -settings-spec.xml: generate-settings-spec $(top_builddir)/libnm-util/libnm-util.la - rm -f $(builddir)/$@ - $(builddir)/generate-settings-spec $(builddir)/$@ +# settings-spec.xml should *not* be DISTed because it must be regenerated +# whenever the libnm-util source changes +settings-spec.xml: $(top_builddir)/tools/generate-settings-spec $(top_builddir)/libnm-util/libnm-util.la + $(top_builddir)/tools/generate-settings-spec book $@ all: $(GENERATED_FILES) @@ -68,7 +46,6 @@ MKTMPL_OPTIONS= # Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE) content_files = \ version.xml \ - settings-spec.xml \ migrating-to-09.xml \ $(NULL) @@ -76,12 +53,12 @@ include $(top_srcdir)/gtk-doc.make #################################### -EXTRA_DIST += $(GENERATED_FILES) +EXTRA_DIST += spec.html CLEANFILES += $(GENERATED_FILES) else -EXTRA_DIST = $(GENERATE_SETTINGS_SPEC_SOURCE) +EXTRA_DIST = CLEANFILES = endif |