mostly cosmetic cleanup

svn: r3373
This commit is contained in:
Eli Barzilay 2006-06-16 03:28:12 +00:00
parent 8587e782a7
commit 4fdeb4c1f2
2 changed files with 19 additions and 19 deletions

View File

@ -96,8 +96,6 @@ mrinstall3m:
lib-finish:
@LIBFINISH@ "$(prefix)/lib"
srcdir = @srcdir@
prefix = @prefix@
copytree:
mzscheme/mzscheme -mvqu "$(srcdir)/copytree.ss" "$(srcdir)/.." $(ALLDIRINFO) @INSTALL_ORIG_TREE@
mzscheme/mzscheme -mvqu "$(srcdir)/copytree.ss" \
"$(srcdir)/.." $(ALLDIRINFO) @INSTALL_ORIG_TREE@

View File

@ -1,25 +1,27 @@
;; This file is used to copy the PLT tree as part of `make install', and as
;; part of Unix installers. It should be invoked with the source plt directory
;; (holding a usual plt tree), and a list of path names that should be copied.
;; Not providing a good cmdline interface, since it is should be as independent
;; as possible.
;; This file is used to copy the PLT tree as part of `make install'. There is
;; no good cmdline interface, since it is internal, and should be as
;; independent as possible. Expects these arguments:
;; * The source plt directory
;; * Path names that should be copied (bin, collects, doc, lib, ...)
;; * A boolean "yes"/"no" flag indicating if an original tree structure is used
;; >>> Should be merged with plt/collects/setup/copytree.ss
(module copytree mzscheme
(define args (vector->list (current-command-line-arguments)))
(define (path-arg)
(define (get-arg)
(when (null? args) (error "insufficient arguments"))
(begin0 (car args) (set! args (cdr args))))
(define pltdir (path-arg))
(define bindir (path-arg))
(define collectsdir (path-arg))
(define docdir (path-arg))
(define libdir (path-arg))
(define includepltdir (path-arg))
(define libpltdir (path-arg))
(define mandir (path-arg))
(define origtree (path-arg))
(define pltdir (get-arg))
(define bindir (get-arg))
(define collectsdir (get-arg))
(define docdir (get-arg))
(define libdir (get-arg))
(define includepltdir (get-arg))
(define libpltdir (get-arg))
(define mandir (get-arg))
(define origtree (get-arg))
(define (skip-name? n)
(regexp-match #rx#"^(?:[.]svn|CVS|compiled)$" (path->bytes n)))