about summary refs log tree commit diff
path: root/man/Makefile.am
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2013-02-20 23:06:45 +0100
committerMichael Biebl <biebl@debian.org>2013-02-20 23:06:45 +0100
commit8d275584fc94f398f0a7c990dcd057533d9a5856 (patch)
tree1bf4a928e201222a008e6776799d174ee3223be3 /man/Makefile.am
parente17c5736fc3722ce51cb33f3edb203960125a4c1 (diff)
Imported Upstream version 0.9.8.0 upstream/0.9.8.0
Diffstat (limited to 'man/Makefile.am')
-rw-r--r--man/Makefile.am28
1 files changed, 7 insertions, 21 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index a2d11ee0..d3512076 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,40 +1,26 @@
+man_MANS =
+CLEANFILES =
 
 if ENABLE_DOC
 
 XSLTPROC = xsltproc --xinclude --nonet
 
-GENERATED_FILES = nm-settings.xml nm-settings.5
-
 nm-settings.5: nm-settings.xml
 	$(XSLTPROC) $(top_srcdir)/tools/manpages-docbook.xsl $(builddir)/nm-settings.xml
+CLEANFILES += nm-settings.5
 
 nm-settings.xml: $(top_builddir)/tools/generate-settings-spec $(top_builddir)/libnm-util/libnm-util.la
 	rm -f $(builddir)/$@
 	$(top_builddir)/tools/generate-settings-spec refentry $(builddir)/$@
+CLEANFILES += nm-settings.xml
 
-else
-
-GENERATED_FILES =
-
-endif
-
-man_MANS =				\
+man_MANS +=				\
 	NetworkManager.8		\
 	NetworkManager.conf.5		\
 	nm-system-settings.conf.5	\
 	nm-tool.1			\
 	nm-online.1			\
 	nmcli.1				\
-	$(GENERATED_FILES)
-
-EXTRA_DIST =				\
-	$(man_MANS)			\
-	NetworkManager.8.in		\
-	NetworkManager.conf.5.in	\
-	nm-system-settings.conf.5.in	\
-	nm-tool.1.in			\
-	nm-online.1.in			\
-	nmcli.1.in
-
-CLEANFILES = $(man_MANS) $(GENERATED_FILES)
+	nm-settings.5
 
+endif