summaryrefslogtreecommitdiffabout
path: root/am
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-26 19:42:49 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-05-26 19:42:49 (GMT)
commit8893389e6bbd27b03d77b7ffa63061e543e8df09 (patch) (side-by-side diff)
treeda189f8739d4712be73600a261210df4cc681316 /am
parenta98d3bcc6bcd42b4a2bc405183c531f4dcccd067 (diff)
downloadgrecs-8893389e6bbd27b03d77b7ffa63061e543e8df09.tar.gz
grecs-8893389e6bbd27b03d77b7ffa63061e543e8df09.tar.bz2
Fix output formatting.
* Makefile.am (EXTRA_DIST): Add @GRECS_DISTDOC@. * am/grecs.m4 (GRECS_SETUP): New flag syntax-doc sets GRECS_DISTDOC. * doc/GRECS_SETUP.3: Update. * src/format.c (grecs_format_node): Print value if GRECS_NODE_FLAG_VALUE is set. * tests/glob01.at: Update.
Diffstat (limited to 'am') (more/less context) (ignore whitespace changes)
-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.