diff options
author | Thomas Haller <thaller@redhat.com> | 2016-11-23 18:26:57 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-11-24 16:55:17 +0100 |
commit | 020f4fb5bace1ef3138172b64fd38c93f82b8007 (patch) | |
tree | 693269f777e43fd6cd2b76a3504fe34645e0bc16 | |
parent | ab208d69da1aa607d41bfe2ff9be09b5b9cf75fb (diff) | |
download | NetworkManager-020f4fb5bace1ef3138172b64fd38c93f82b8007.tar.gz |
build: combine pattern rule for makefiles
-rw-r--r-- | Makefile.am | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/Makefile.am b/Makefile.am index 5df8266cde..45aa56acf9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3885,28 +3885,20 @@ endif # man ############################################################################### -XSLTPROC_MAN_FLAGS = \ - --path man --xinclude --nonet \ +xsltproc_flags = \ + --path man \ + --xinclude \ + --nonet \ --stringparam man.output.quietly 1 \ --stringparam funcsynopsis.style ansi \ --stringparam man.th.extra1.suppress 1 \ --stringparam man.authors.section.enabled 0 \ - --stringparam man.copyright.section.enabled 0 \ - http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl + --stringparam man.copyright.section.enabled 0 if ENABLE_GTK_DOC -man/%.1: man/%.xml man/common.ent - $(AM_V_GEN) xsltproc --output $@ $(XSLTPROC_MAN_FLAGS) $< - -man/%.5: man/%.xml man/common.ent - $(AM_V_GEN) xsltproc --output $@ $(XSLTPROC_MAN_FLAGS) $< - -man/%.7: man/%.xml man/common.ent - $(AM_V_GEN) xsltproc --output $@ $(XSLTPROC_MAN_FLAGS) $< - -man/%.8: man/%.xml man/common.ent - $(AM_V_GEN) xsltproc --output $@ $(XSLTPROC_MAN_FLAGS) $< +man/%.1 man/%.5 man/%.7 man/%.8: man/%.xml man/common.ent + $(AM_V_GEN) xsltproc --output $@ $(xsltproc_flags) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< endif |