[beast: 15/19] BUILD: install HACKING README NEWS COPYING
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 15/19] BUILD: install HACKING README NEWS COPYING
- Date: Fri, 17 Mar 2017 20:58:23 +0000 (UTC)
commit ffaade65cc6e50f20907767db3b8d553d05dc376
Author: Tim Janik <timj gnu org>
Date: Fri Mar 17 01:41:01 2017 +0100
BUILD: install HACKING README NEWS COPYING
Signed-off-by: Tim Janik <timj gnu org>
HACKING.md | 6 +++++-
Makefile.am | 39 +++++++++++++++++++++++----------------
2 files changed, 28 insertions(+), 17 deletions(-)
---
diff --git a/HACKING.md b/HACKING.md
index 4dae544..7e9fb0f 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -1,4 +1,5 @@
-% BEAST/BSE HACKING
+BEAST/BSE HACKING
+=================
The Beast + BSE code base origins date back to the 90ties, so hacking on it requires some knowledge about
ancient aspects and mixings with newer technologies. The following gives a high-level overview of the
pitfalls involved, this file can be discussed at beast gnome org.
@@ -60,6 +61,8 @@ Conversions
===========
Conversion between object handles works as follows:
+
+~~~~cpp
// In bse/
BseServer *server = server_impl->as<BseObject*>();
ServerImpl *server_impl = server->as<ServerImpl*>();
@@ -69,3 +72,4 @@ Conversion between object handles works as follows:
ServerIface *server_iface;
ObjectIfaceP server_iface->from_proxy (proxyid);
SfiProxy proxy = server_iface->proxy_id();
+~~~~
diff --git a/Makefile.am b/Makefile.am
index c47b0b5..ea6782e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,24 +3,31 @@
include $(top_srcdir)/Makefile.decl
topdir = $(abs_top_srcdir)
-SUBDIRS = . data sfi bse plugins drivers shell pybeast beast-gtk launchers library tools po tests docs
+SUBDIRS = . data sfi bse plugins drivers shell pybeast beast-gtk launchers library tools po
tests docs
-noinst_DATA = HACKING.html
-EXTRA_DIST += HACKING.html
-CLEANFILES += HACKING.html
+# == make setup ==
+noinst_DATA =
-%.html: %.md
- pandoc -s --toc -N -S -f markdown_github+pandoc_title_block -t html --email-obfuscation=javascript \
- $< -o xgen-$(@F)
- mv xgen-$(@F) $@
+# == doc/ install ==
+projectdocsdir = $(docdir)/
+projectdocs_DATA = HACKING README NEWS COPYING
+EXTRA_DIST += $(projectdocs_DATA)
+.SECONDARY: HACKING.md README.md # pacify make(1) when shipping files generated from markdown
+MAINTAINERCLEANFILES += HACKING
-site site-preview site-update site-update-all site-update-pages site-update-galleries:
- @$(MAKE) -C web/ $(AM_MAKEFLAGS) $@
+# == Markdown rules ==
+%: %.md
+ $(AM_V_GEN)
+ $(Q) rm -f $@ # work around read-only target
+ $(Q) $(PANDOC) -S -f markdown_github+pandoc_title_block-hard_line_breaks -t plain $< -o $@
+ $(Q) chmod a-w $@ # prevent accidental target file edits
+%.html: %.md
+ $(AM_V_GEN)
+ $(Q) rm -f $@ # work around read-only target
+ $(Q) $(PANDOC) -s --toc -N -S -f markdown_github+pandoc_title_block-hard_line_breaks -t html \
+ --email-obfuscation=javascript $< -o $@
+ $(Q) chmod a-w $@ # prevent accidental target file edits
-# === doc/ files ===
-maindocsdir = $(docdir)/
-maindocs_DATA = README.md NEWS
-EXTRA_DIST += $(maindocs_DATA)
# check: message
ALL_CHECKED_MSG = "All package tests passed"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]