aboutsummaryrefslogtreecommitdiff
path: root/am/grecs.m4
diff options
context:
space:
mode:
Diffstat (limited to 'am/grecs.m4')
-rw-r--r--am/grecs.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/am/grecs.m4 b/am/grecs.m4
index 5611e04..28a69e0 100644
--- a/am/grecs.m4
+++ b/am/grecs.m4
@@ -60,6 +60,7 @@ AC_DEFUN([_GRECS_SET_OPTIONS],
# tests Build tests.
# getopt Add getopt.m4 to the distribution
# git2chg Add git2chg.awk to the distribution
+# syntax-doc Add doc/grecs-syntax.texi to the distribution
#
# The pp-setup-file argument supplies the pathname of the preprocessor
# setup file in the source tree. It is ignored if std-pp-setup option is
@@ -171,6 +172,7 @@ AC_DEFUN([GRECS_SETUP],[
AC_SUBST([GRECS_README])
AC_SUBST([GRECS_INCLUDES],['-I$(top_srcdir)/]grecsdir[src]')
AC_SUBST([GRECS_HOST_PROJECT_INCLUDES])
+ AC_SUBST([GRECS_DISTDOC])
_GRECS_OPTION_SWITCH([install],[
LT_INIT
@@ -186,11 +188,13 @@ AC_DEFUN([GRECS_SETUP],[
GRECS_LDADD=['$(top_builddir)/]grecsdir[src/libgrecs.la']
GRECS_CHANGELOG='#'
GRECS_README=README.submodule
+ _GRECS_IF_OPTION_SET([syntax-doc],[GRECS_DISTDOC=doc/grecs-syntax.texi])
AC_CONFIG_FILES(grecsdir[src/Makefile]:grecsdir[src/Make-shared.in])
],[
GRECS_LDADD=['$(top_builddir)/]grecsdir[src/libgrecs.a']
GRECS_CHANGELOG='#'
GRECS_README=README.submodule
+ _GRECS_IF_OPTION_SET([syntax-doc],[GRECS_DISTDOC=doc/grecs-syntax.texi])
AC_CONFIG_FILES(grecsdir[src/Makefile]:grecsdir[src/Make-static.in])
])
AC_CONFIG_FILES(grecsdir[Makefile])

Return to:

Send suggestions and report system problems to the System administrator.