From 20b3e2126d704153c9524a2584981ceabc419b0a Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Fri, 21 Sep 2018 13:16:51 +0300 Subject: Minor fixes --- README-hacking | 2 +- gamma/Makefile.am | 4 ++-- scripts/bootstrap | 8 +++++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README-hacking b/README-hacking index c208f79..c5365b1 100644 --- a/README-hacking +++ b/README-hacking @@ -12,7 +12,7 @@ latest stable version. - Automake - Autoconf -Of course, you will also need Guile version 1.8 or later: +Of course, you will also need Guile version 2.2 or later: - Guile diff --git a/gamma/Makefile.am b/gamma/Makefile.am index de3a868..e4ddfc1 100644 --- a/gamma/Makefile.am +++ b/gamma/Makefile.am @@ -32,7 +32,7 @@ EXTRA_DIST += loader.sci GAMMA_BUILT_DATA_FILES += loader.scm sitedir=$(GUILE_SITE)/$(PACKAGE) -site_DATA=$(GAMMA_DATA_FILES) documentation.scm +site_DATA=$(GAMMA_DATA_FILES) $(GAMMA_BUILT_DATA_FILES) documentation.scm .sci.scm: $(AM_V_GEN)m4 -DVERSION=$(VERSION) -DLIBDIR=$(libdir) \ @@ -44,7 +44,7 @@ DOT_DOC_FILES=$(DOT_X_FILES:.x=.doc) DISTCLEANFILES=$(site_DATA) SUFFIXES= -CLEANFILES= +CLEANFILES=$(GAMMA_BUILT_DATA_FILES) BUILT_SOURCES= include ../gint/gint.mk diff --git a/scripts/bootstrap b/scripts/bootstrap index 9a38489..f1a84e3 100755 --- a/scripts/bootstrap +++ b/scripts/bootstrap @@ -437,7 +437,8 @@ exec ${GUILE-guile} -l $0 -c "(apply $main (cons \"$0\" (cdr (command-line))))" (cond ((assoc-ref moddef 'scm) => (lambda (scm-list) - (let ((built-data '())) + (let ((built-data '()) + (scm-data '())) (format #t "EXTRA_DIST +=") (for-each (lambda (file) @@ -445,12 +446,13 @@ exec ${GUILE-guile} -l $0 -c "(apply $main (cons \"$0\" (cdr (command-line))))" (set! built-data (cons (string-append (string-drop-right file 1) "m") - built-data))) + built-data)) + (set! scm-data (cons file scm-data))) (display " ") (display file)) scm-list) (newline) - (format #t "GAMMA_DATA_FILES += ~a~%" (string-join scm-list " ")) + (format #t "GAMMA_DATA_FILES += ~a~%" (string-join scm-data " ")) (cond ((not (null? built-data)) -- cgit v1.2.1