Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2017-03-21 10:27:36 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2017-03-23 12:16:52 -0400
commit1b4ebc13e39cf9fcf05d567ac81bf8b84f3730f1 (patch)
treef1c4af864595edd9449a2d23286f65b9f1453081 /configure.ac
parent00e2389a5fffe89b87467d10d8d3b562a35c3b45 (diff)
downloadliza-1b4ebc13e39cf9fcf05d567ac81bf8b84f3730f1.tar.gz
liza-1b4ebc13e39cf9fcf05d567ac81bf8b84f3730f1.tar.bz2
liza-1b4ebc13e39cf9fcf05d567ac81bf8b84f3730f1.zip
Add notices and DEVNOTES flag
* .gitignore (/config.*): Restrict to root. * configure.ac (DEVNOTES): Add variable. (--enable-devnotes): Add configuration flag. * doc/Makefile.am (liza_TEXINFOS): config.texi dependency. * doc/config.texi.in: Add configuration file. * doc/liza.css: Styling for notices. * doc/liza.texi: Include configuration. Add notice for DEVNOTES. * doc/macros.texi: Add notice macros. * doc/.gitignore (config.texi): Ignore generated file.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 12 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index de67f47..1f13a55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,6 +41,17 @@ AS_IF([node --harmony_destructuring >/dev/null 2>/dev/null],
AC_SUBST([NODE_DESTRUCTURE], [--harmony_destructuring])],
[AC_MSG_RESULT(no)])
+set_devnotes='@set DEVNOTES'
+AC_ARG_ENABLE(
+ [devnotes],
+ [AS_HELP_STRING([--enable-devnotes],
+ [include note for liza developers (enabled by default)])],
+ [test "x$enableval" != xno || set_devnotes="@c $set_devnotes"])
+
+AC_SUBST([SET_DEVNOTES], [$set_devnotes])
+
# generate files from their *.in counterparts
-AC_CONFIG_FILES([Makefile doc/Makefile package.json src/version.js])
+AC_CONFIG_FILES([Makefile package.json
+ doc/Makefile doc/config.texi
+ src/version.js])
AC_OUTPUT