Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2017-03-21 11:10:58 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2017-03-23 12:16:52 -0400
commit4ddebbc035f4b5a7ed77af3f94a6035b600d4fac (patch)
tree7fe0f264fd98e78f2afdc1e3e97e4e79af5be927 /configure.ac
parenteaacb7c5e058932c5cbdb7ec2a3dc77724961516 (diff)
downloadliza-4ddebbc035f4b5a7ed77af3f94a6035b600d4fac.tar.gz
liza-4ddebbc035f4b5a7ed77af3f94a6035b600d4fac.tar.bz2
liza-4ddebbc035f4b5a7ed77af3f94a6035b600d4fac.zip
Add SRCURI configuration for manual
* configure.ac (SET_SRCURI): Provide source root to manual. (--with-srcuri): Add configure option. * doc/config.texi.in (SET_SRCURI): Add configuration value. * doc/liza.texi: Add warning if SET_SRCURI is unset when DEVNOTES is set.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1f13a55..641d840 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,6 +50,16 @@ AC_ARG_ENABLE(
AC_SUBST([SET_DEVNOTES], [$set_devnotes])
+set_srcuri='@c @set SRCURI <source code uri>'
+AC_ARG_WITH(
+ [srcuri],
+ [AS_HELP_STRING([--with-srcuri],
+ [root URI for Liza source code cross-references
+ (disabled by default)])],
+ [test "x$withval" = x || set_srcuri="@set SRCURI $withval"])
+
+AC_SUBST([SET_SRCURI], [$set_srcuri])
+
# generate files from their *.in counterparts
AC_CONFIG_FILES([Makefile package.json
doc/Makefile doc/config.texi