[beast: 6/17] DOCS: build and install bse.5 (+ .html) from bse.5.md
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 6/17] DOCS: build and install bse.5 (+ .html) from bse.5.md
- Date: Thu, 23 Mar 2017 16:22:10 +0000 (UTC)
commit fba028d90d19eb54b29f2435cbe76399fafcea43
Author: Tim Janik <timj gnu org>
Date: Sun Mar 19 02:26:08 2017 +0100
DOCS: build and install bse.5 (+ .html) from bse.5.md
Signed-off-by: Tim Janik <timj gnu org>
docs/Makefile.am | 26 ++++++++++++--
docs/imports/Makefile.am | 4 +-
docs/imports/bse.5 | 41 -----------------------
docs/imports/bse.5.html | 81 ----------------------------------------------
4 files changed, 24 insertions(+), 128 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index bcf3f31..48af873 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -3,6 +3,11 @@ include $(top_srcdir)/Makefile.decl
SUBDIRS = imports images
+MOSTLYCLEANFILES =
+man1_MANS =
+man5_MANS =
+man5_HTMLS =
+
topdir = $(abs_top_srcdir)
V_gen = @printf ' %-9s%s\n'
topbuildid ::= $(shell $(topdir)/misc/mkbuildid.sh -p)
@@ -18,7 +23,6 @@ gxk_doc_sources ::= $(shell make doc_sources.lst -C ../beast-gtk/gxk >&2 && ca
bst_doc_sources ::= $(shell make doc_sources.lst -C ../beast-gtk >&2 && cat
../beast-gtk/doc_sources.lst)
tools_doc_sources ::= $(shell make doc_sources.lst -C ../tools >&2 && cat ../tools/doc_sources.lst)
man1_HTMLS = imports/bsescm.1.html imports/bsewavetool.1.html imports/sfidl.1.html
-man5_HTMLS = imports/bse.5.html
# == Configure docs ==
docs_project_link = http://beast.testbit.eu
@@ -126,8 +130,6 @@ clean-local: clean-docs
# == revisioned_files ==
revisioned_files = # files that need @FILE_REVISION@ substitution, see revisions.lst
-man1_MANS =
-MOSTLYCLEANFILES =
# == revisions.lst ==
noinst_DATA += revisions.lst
@@ -158,8 +160,12 @@ clean-local: clean-revisions.lst
%.1: %.1.revd.md
$(AM_V_GEN)
$(Q) $(PANDOC) -s -t man $< -o $@
+# == man.5 (markdown) ==
+%.5: %.5.revd.md
+ $(AM_V_GEN)
+ $(Q) $(PANDOC) -s -t man $< -o $@
-# == man.1.html (markdown) ==
+# == man.*.html (markdown) ==
manpage_header.html:
$(Q) echo $$'<a href="../index.html">Return to Index</a>\n<hr>\n' > $@
.INTERMEDIATE: manpage_header.html
@@ -169,12 +175,24 @@ manpage_footer.html:
.INTERMEDIATE: manpage_footer.html
MOSTLYCLEANFILES += manpage_footer.html
EXTRA_DIST += ../docs/manpage.css
+
+# == man.1.html (markdown) ==
%.1.html: %.1.revd.md manpage_header.html manpage_footer.html ../docs/manpage.css
$(AM_V_GEN)
$(Q) $(PANDOC) -s -t html -S --toc -H $(topdir)/docs/manpage.css -B manpage_header.html -A
manpage_footer.html $< -o $@
+# == man.5.html (markdown) ==
+%.5.html: %.5.revd.md manpage_header.html manpage_footer.html ../docs/manpage.css
+ $(AM_V_GEN)
+ $(Q) $(PANDOC) -s -t html -S --toc -H $(topdir)/docs/manpage.css -B manpage_header.html -A
manpage_footer.html $< -o $@
# == beast.1 ==
revisioned_files += beast.1.md
man1_MANS += beast.1
man1_HTMLS += beast.1.html
MOSTLYCLEANFILES += beast.1 beast.1.html
+
+# == bse.5 ==
+revisioned_files += bse.5.md
+man5_MANS += bse.5
+man5_HTMLS += bse.5.html
+MOSTLYCLEANFILES += bse.5 bse.5.html
diff --git a/docs/imports/Makefile.am b/docs/imports/Makefile.am
index e02deb6..d861d4d 100644
--- a/docs/imports/Makefile.am
+++ b/docs/imports/Makefile.am
@@ -1,8 +1,8 @@
# BEAST & BSE
include $(top_srcdir)/Makefile.decl
-MANMANS = bse.5 bsescm.1 bsewavetool.1 sfidl.1
-HTMLMANS = bse.5.html bsescm.1.html bsewavetool.1.html sfidl.1.html
+MANMANS = bsescm.1 bsewavetool.1 sfidl.1
+HTMLMANS = bsescm.1.html bsewavetool.1.html sfidl.1.html
EXTRA_DIST += $(MANMANS)
# HTMLMANS are packaged as part of the doxygen docs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]