summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.each.tail/70-sdman.mk
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-10-31 11:11:17 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-10-31 11:11:17 -0400
commitc17baf9504ea4780d7a0adc38a4d443ecc6e09f8 (patch)
treee84dbeb104b2e3984f084c6464efac87f88a4436 /build-aux/Makefile.each.tail/70-sdman.mk
parenta499979176f6e9a7b56c3c41c8c045df43037734 (diff)
at: sd: clean up, document
Diffstat (limited to 'build-aux/Makefile.each.tail/70-sdman.mk')
-rw-r--r--build-aux/Makefile.each.tail/70-sdman.mk39
1 files changed, 18 insertions, 21 deletions
diff --git a/build-aux/Makefile.each.tail/70-sdman.mk b/build-aux/Makefile.each.tail/70-sdman.mk
index 0e4b35b6ce..ccbb1bd4e1 100644
--- a/build-aux/Makefile.each.tail/70-sdman.mk
+++ b/build-aux/Makefile.each.tail/70-sdman.mk
@@ -21,27 +21,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-mod.sdman.description = (systemd) manpages
-mod.sdman.depends += am files write-atomic
-define mod.sdman.doc
-# Inputs:
-# - Global variable : `ENABLE_MANPAGES`
-# - Directory variable : `files.src.src`
-# Inputs (from `$(srcdir)/Makefile-man.mk`):
-# - Directory variable : `sdman.MANPAGES`
-# - Directory variable : `sdman.MANPAGES_ALIAS`
-# Outputs:
-# - File : `$(srcdir)/Makefile-man.mk`
-# - Directory variable : `at.subdirs`
-# - Directory variable : `files.src.gen`
-# - Directory variable : `man_MANS`
-# - Directory variable : `noinst_DATA`
-#
-# The `sdman.*` variables are the interface by which Makefile-man.mk may
-# communicate up. They should not be used outside of the `sdman` module.
-endef
-mod.sdman.doc := $(value mod.sdman.doc)
-
_sdman.man_xml = $(foreach _sdman.tmp,$(filter %.xml,$(files.src.src)),$(if $(findstring /,$(_sdman.tmp)),,$(_sdman.tmp)))
ifneq ($(_sdman.man_xml),)
@@ -73,4 +52,22 @@ endif # ENABLE_MANPAGES
at.subdirs += $(abspath $(topoutdir)/man)
+$(outdir)/%.1: $(srcdir)/%.xml $(topsrcdir)/man/custom-man.xsl $(topoutdir)/man/custom-entities.ent
+ $(_sdman.XSLTPROC_PROCESS_MAN)
+
+$(outdir)/%.3: $(srcdir)/%.xml $(topsrcdir)/man/custom-man.xsl $(topoutdir)/man/custom-entities.ent
+ $(_sdman.XSLTPROC_PROCESS_MAN)
+
+$(outdir)/%.5: $(srcdir)/%.xml $(topsrcdir)/man/custom-man.xsl $(topoutdir)/man/custom-entities.ent
+ $(_sdman.XSLTPROC_PROCESS_MAN)
+
+$(outdir)/%.7: $(srcdir)/%.xml $(topsrcdir)/man/custom-man.xsl $(topoutdir)/man/custom-entities.ent
+ $(_sdman.XSLTPROC_PROCESS_MAN)
+
+$(outdir)/%.8: $(srcdir)/%.xml $(topsrcdir)/man/custom-man.xsl $(topoutdir)/man/custom-entities.ent
+ $(_sdman.XSLTPROC_PROCESS_MAN)
+
+$(outdir)/%.html: $(srcdir)/%.xml $(topsrcdir)/man/custom-html.xsl $(topoutdir)/man/custom-entities.ent
+ $(_sdman.XSLTPROC_PROCESS_HTML)
+
endif # _sdman.man_xml