summaryrefslogtreecommitdiff
path: root/libmu_scm/Makefile.am
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-06-15 13:30:04 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-06-15 13:30:04 +0000
commitd06be8d435fad84ec5704e10d072fc37eafe8da3 (patch)
treeb0171f7c1f12ee61bd4a3cfa206f5c9110e2d489 /libmu_scm/Makefile.am
parent8453ccd7fb2e09248e7f0b8f3a54b5fd89324d3b (diff)
downloadmailutils-d06be8d435fad84ec5704e10d072fc37eafe8da3.tar.gz
mailutils-d06be8d435fad84ec5704e10d072fc37eafe8da3.tar.bz2
(GUILE_BUILT_SOURCES_X,DISTCLEANFILES): Add guile-procedures.texi
(guile-procedures.texi): New rule
Diffstat (limited to 'libmu_scm/Makefile.am')
-rw-r--r--libmu_scm/Makefile.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/libmu_scm/Makefile.am b/libmu_scm/Makefile.am
index a8503c33f..fa97b2448 100644
--- a/libmu_scm/Makefile.am
+++ b/libmu_scm/Makefile.am
@@ -78,11 +78,11 @@ DOT_DOC_FILES=\
mu_scm.doc\
mu_util.doc
-GUILE_BUILT_SOURCES_X=$(DOT_X_FILES) $(DOT_DOC_FILES)
+GUILE_BUILT_SOURCES_X=$(DOT_X_FILES) $(DOT_DOC_FILES) guile-procedures.texi
BUILT_SOURCES=@GUILE_BUILT_SOURCES@
-DISTCLEANFILES=$(DOT_X_FILES) $(DOT_DOC_FILES) @GUILE_SITE_DATA@
+DISTCLEANFILES=$(DOT_X_FILES) $(DOT_DOC_FILES) guile-procedures.texi @GUILE_SITE_DATA@
CLEANFILES=*.inc
AM_CPPFLAGS=-DDATADIR=\"$(pkgdatadir)\"
@@ -106,11 +106,16 @@ SUFFIXES=.x .doc .inc .in
.c.inc:
sed -n 's/SCM_DEFINE *(.[^,]*, *\"\([^"][^"]*\)\".*/[(export \1)]/p' $< > $@
-guile-procedures.txt: $(DOT_DOC_FILES)
+guile-procedures.texi: $(DOT_DOC_FILES)
cat $(DOT_DOC_FILES) > $@
+guile-procedures.txt: guile-procedures.texi
+ rm -f $@
+ $(MAKEINFO) --force -o $@ guile-procedures.texi || test -f $@
+
mailutils.scm: mailutils.scm.in $(C_SRCS:.c=.inc)
m4 -DVERSION=$(VERSION) -DLIBDIR=$(libdir) \
+ -DSITEDIR=$(sitedir) \
-DBUILDDIR=$(top_builddir)/libmu_scm \
$(srcdir)/mailutils.scm.in > $@

Return to:

Send suggestions and report system problems to the System administrator.