summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am4
-rw-r--r--libguile/Makefile.am4
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 737897bcf..8cdcc7e4e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -52,7 +52,8 @@ libguile/guile-procedures.txt: libguile/guile-procedures.texi
$(top_builddir)/meta/guile --no-auto-compile \
"$(srcdir)/libguile/texi-fragments-to-docstrings" \
"$(builddir)/libguile/guile-procedures.texi" \
- > libguile/guile-procedures.txt
+ > $@.tmp
+ @mv $@.tmp $@
EXTRA_DIST = LICENSE HACKING GUILE-VERSION \
m4/ChangeLog-2008 \
@@ -70,6 +71,7 @@ TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@
ACLOCAL_AMFLAGS = -I m4
+CLEANFILES = libguile/guile-procedures.txt
DISTCLEANFILES = check-guile.log
DISTCHECK_CONFIGURE_FLAGS = --enable-error-on-warning
diff --git a/libguile/Makefile.am b/libguile/Makefile.am
index 450d955ce..4b1f96bee 100644
--- a/libguile/Makefile.am
+++ b/libguile/Makefile.am
@@ -429,6 +429,10 @@ BUILT_SOURCES = cpp-E.c cpp-SIG.c libpath.h \
scmconfig.h \
$(DOT_I_FILES) $(DOT_X_FILES) $(EXTRA_DOT_X_FILES)
+# Force the generation of `guile-procedures.texi' because the top-level
+# Makefile expects it to be built.
+all-local: guile-procedures.texi
+
EXTRA_libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES = _scm.h \
memmove.c strerror.c \
dynl.c regex-posix.c \