From: Matt Birkholz Date: Fri, 10 Jun 2016 19:26:19 +0000 (-0700) Subject: Edwin and IMail Makefile.ams (dist): Missing EXTRA_DIST files. X-Git-Tag: mit-scheme-pucked-9.2.12~307 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=8d09b66c9d28f2eb66d4064c28be1231541b4e0a;p=mit-scheme.git Edwin and IMail Makefile.ams (dist): Missing EXTRA_DIST files. --- diff --git a/src/edwin/Makefile.am b/src/edwin/Makefile.am index 6faa8d3ec..22922c000 100644 --- a/src/edwin/Makefile.am +++ b/src/edwin/Makefile.am @@ -47,16 +47,18 @@ pdfdir = $(libdir)/mit-scheme-pucked/doc include $(srcdir)/source-dependencies.am edwin.bld: stamp-scheme edwin-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme -stamp-scheme: $(sources) edwin.pkg +stamp-scheme: $(sources) edwin.ldr edwin.pkg touch stamp-scheme if ! ./compile.sh; then rm stamp-scheme; exit 1; fi -CLEANFILES = *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd +CLEANFILES = *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd *.bld -ETAGS_ARGS = $(sources) -TAGS_DEPENDENCIES = $(sources) +ETAGS_ARGS = $(sources) edwin.ldr +TAGS_DEPENDENCIES = $(sources) edwin.ldr -EXTRA_DIST += $(sources) compile.sh edwin.sf edwin.cbf edwin.pkg +EXTRA_DIST += $(sources) TUTORIAL +EXTRA_DIST += sources.sh compile.sh decls.scm edwin.ldr +EXTRA_DIST += edwin.sf edwin.cbf edwin.pkg install-data-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)")' \ diff --git a/src/edwin/sources.sh b/src/edwin/sources.sh index f9943c8f6..6535b9636 100755 --- a/src/edwin/sources.sh +++ b/src/edwin/sources.sh @@ -28,40 +28,58 @@ set -e : ${MIT_SCHEME_EXE=mit-scheme} ${MIT_SCHEME_EXE} --batch-mode -- $1 <<\EOF +(begin -(let ((command (car (command-line)))) - (parameterize ((param:suppress-loading-message? #t)) - (load-option 'CREF)) - (let ((cref (->environment '(cross-reference)))) - (let ((read-package-model (access read-package-model cref)) - (pmodel/packages (access pmodel/packages cref)) - (package/files (access package/files cref)) - (os-type microcode-id/operating-system) - (write (named-lambda (write . strings) - (for-each write-string strings)))) - (define (write-line . strings) - (apply write strings) (newline)) - (let ((pathnames - (cons (->pathname "rename") - (append-map package/files - (pmodel/packages - (read-package-model "edwin" os-type)))))) - (cond ((string=? command "scm") - (for-each (lambda (name) (write " "name)) - (sort (map (lambda (pathname) - (->namestring (pathname-new-type pathname "scm"))) - pathnames) - stringnamestring pathnames) stringnamestring pathnames) stringnamestring (pathname-new-type pathname "scm"))) + files) + stringnamestring files) stringnamestring files) string