summaryrefslogtreecommitdiffabout
path: root/gint.mk
authorSergey Poznyakoff <gray@gnu.org.ua>2010-04-12 12:17:08 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2010-04-12 12:17:29 (GMT)
commitc6a7620deb7e3e139329e2daad31d4071f01b43b (patch) (side-by-side diff)
tree26c92eb3d8a07d6b1a67fc4dc8791ac070b20bba /gint.mk
parenteb8c885e4ffd421a28bdaa14b3677c4903844d9e (diff)
downloadgint-c6a7620deb7e3e139329e2daad31d4071f01b43b.tar.gz
gint-c6a7620deb7e3e139329e2daad31d4071f01b43b.tar.bz2
Provide a Scheme implementation of clexer. Improve the docs.
* snarf-doc-filter: New file. Alternative implementation of clexer. * Makefile.am [GINT_COND_SNARF_DOC_FILTER]: Use snarf-doc-filter as an alternative filter. * README: Update. * clexer.l: Minor fix. * gint.m4 (GINT_INCLUDES, GINT_LDADD): New substitution vars. (GINT_INIT): Call AM_PROG_LEX only if snarf-doc-filter is not set, i.e. clexer is requested. (GINT_COND_SNARF_DOC_FILTER): New condition. * gint.mk (GUILE_DOC_SNARF)[GINT_COND_SNARF_DOC_FILTER]: Use snarf-doc-filter. * .gitignore: New file.
Diffstat (limited to 'gint.mk') (more/less context) (ignore whitespace changes)
-rw-r--r--gint.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/gint.mk b/gint.mk
index b691b3d..3d5a6a7 100644
--- a/gint.mk
+++ b/gint.mk
@@ -31,7 +31,11 @@ DISTCLEANFILES +=\
ETAGS_ARGS = --regex='/SCM_\(GLOBAL_\)?\(G?PROC\|G?PROC1\|SYMBOL\|VCELL\|CONST_LONG\).*\"\([^\"]\)*\"/\3/' \
--regex='/[ \t]*SCM_[G]?DEFINE1?[ \t]*(\([^,]*\),[^,]*/\1/'
+if GINT_COND_SNARF_DOC_FILTER
+GUILE_DOC_SNARF=$(top_builddir)/$(GINT_MODULE_DIR)/snarf-doc-filter --snarfer
+else
GUILE_DOC_SNARF=$(top_builddir)/$(GINT_MODULE_DIR)/clexer --snarfer
+endif
SUFFIXES += .x .doc

Return to:

Send suggestions and report system problems to the System administrator.