mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-24 03:34:40 +00:00
build: combine pattern rule for makefiles
This commit is contained in:
parent
ab208d69da
commit
020f4fb5ba
22
Makefile.am
22
Makefile.am
|
@ -3885,28 +3885,20 @@ endif
|
||||||
# man
|
# man
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
XSLTPROC_MAN_FLAGS = \
|
xsltproc_flags = \
|
||||||
--path man --xinclude --nonet \
|
--path man \
|
||||||
|
--xinclude \
|
||||||
|
--nonet \
|
||||||
--stringparam man.output.quietly 1 \
|
--stringparam man.output.quietly 1 \
|
||||||
--stringparam funcsynopsis.style ansi \
|
--stringparam funcsynopsis.style ansi \
|
||||||
--stringparam man.th.extra1.suppress 1 \
|
--stringparam man.th.extra1.suppress 1 \
|
||||||
--stringparam man.authors.section.enabled 0 \
|
--stringparam man.authors.section.enabled 0 \
|
||||||
--stringparam man.copyright.section.enabled 0 \
|
--stringparam man.copyright.section.enabled 0
|
||||||
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
|
|
||||||
|
|
||||||
if ENABLE_GTK_DOC
|
if ENABLE_GTK_DOC
|
||||||
|
|
||||||
man/%.1: man/%.xml man/common.ent
|
man/%.1 man/%.5 man/%.7 man/%.8: man/%.xml man/common.ent
|
||||||
$(AM_V_GEN) xsltproc --output $@ $(XSLTPROC_MAN_FLAGS) $<
|
$(AM_V_GEN) xsltproc --output $@ $(xsltproc_flags) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
||||||
|
|
||||||
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) $<
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue