summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-09-10 12:02:22 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-09-10 12:02:22 +0000
commit59e7b2d4cd24c1a202729612fca35113e419e1e6 (patch)
tree848532613c43e31133f3db3321b6317bc638391c
parent604f0683b1df6d0700d9f32cadb652b4d0afeea2 (diff)
downloadmailutils-59e7b2d4cd24c1a202729612fca35113e419e1e6.tar.gz
mailutils-59e7b2d4cd24c1a202729612fca35113e419e1e6.tar.bz2
Added @GUILE_INCLUDES@. Changed snarfing rules.
-rw-r--r--libmu_scm/Makefile.am15
1 files changed, 9 insertions, 6 deletions
diff --git a/libmu_scm/Makefile.am b/libmu_scm/Makefile.am
index e549ae701..8482e8d0e 100644
--- a/libmu_scm/Makefile.am
+++ b/libmu_scm/Makefile.am
@@ -3,7 +3,7 @@
# See file COPYING in the distribution root directory for copying conditions.
AUTOMAKE_OPTIONS = ../lib/ansi2knr
-INCLUDES =-I. -I$(top_builddir) -I$(srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/include
+INCLUDES =-I. -I$(top_builddir) -I$(srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/include @GUILE_INCLUDES@
noinst_LIBRARIES=@MU_SCM@
EXTRA_LIBRARIES=libmu_scm.a
@@ -33,16 +33,19 @@ CPPFLAGS=-DDATADIR=\"$(pkgdatadir)\"
ETAGS_ARGS = --regex='/SCM_\(GLOBAL_\)?\(G?PROC\|G?PROC1\|SYMBOL\|VCELL\|CONST_LONG\).*\"\([^\"]\)*\"/\3/' \
--regex='/[ \t]*SCM_[G]?DEFINE1?[ \t]*(\([^,]*\),[^,]*/\1/'
-GUILE_DOC_SNARF=$(top_srcdir)/scripts/guile-doc-snarf
+GUILE_DOC_SNARF=$(top_srcdir)/scripts/guile-$(GUILE_SNARF_VERSION)/guile-doc-snarf
+
SUFFIXES=.x .doc
.c.x:
- $(GUILE_DOC_SNARF) $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) \
- $< > $@ || { rm $@; false; }
+ AWK=$(AWK) \
+ $(GUILE_DOC_SNARF) -o $@ \
+ $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
.c.doc:
- $(GUILE_DOC_SNARF) $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) \
- $< > /dev/null || { rm $@; false; }
+ AWK=$(AWK) \
+ $(GUILE_DOC_SNARF) -d -o $@ \
+ $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
guile-procedures.txt: $(DOT_DOC_FILES)
cat $(DOT_DOC_FILES) > $@

Return to:

Send suggestions and report system problems to the System administrator.