summary refs log tree commit diff
path: root/docs/api/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api/Makefile.am')
-rw-r--r--docs/api/Makefile.am16
1 files changed, 2 insertions, 14 deletions
diff --git a/docs/api/Makefile.am b/docs/api/Makefile.am
index c89dbc44..359e91fd 100644
--- a/docs/api/Makefile.am
+++ b/docs/api/Makefile.am
@@ -2,25 +2,12 @@ AUTOMAKE_OPTIONS = 1.7
 
 XSLTPROC = xsltproc --xinclude --nonet
 XMLS = $(wildcard $(top_srcdir)/introspection/nm-*.xml)
-
 GENERATED_FILES =
 
 if BUILD_DOCS
-
-settings-spec.xml: settings-spec.xsl $(top_builddir)/man/nm-settings-docs-dbus.xml
-	$(AM_V_GEN) (! test -f $@ || chmod u+w $@) && xsltproc --output $@ $^
-
-# Top-level SGML file includes (depends on) settings-spec.xml
-$(DOC_MAIN_SGML_FILE): settings-spec.xml
-
 GENERATED_FILES += settings-spec.xml
-
-all: $(GENERATED_FILES)
-
 endif
 
-####################################
-
 # The name of the module.
 DOC_MODULE=NetworkManager
 
@@ -130,7 +117,8 @@ setup-build.stamp:
 	fi
 	$(AM_V_at)touch setup-build.stamp
 
-####################################
+settings-spec.xml: settings-spec.xsl $(top_builddir)/man/nm-settings-docs-dbus.xml
+	$(AM_V_GEN) (! test -f $@ || chmod u+w $@) && xsltproc --output $@ $^
 
 EXTRA_DIST += \
 	version.xml.in \