- added "build-clean" phase

This commit is contained in:
michel-schinz 2005-08-20 15:45:02 +00:00
parent 5c10106733
commit 16714278ce
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
;;; Installation library for scsh modules. ;;; Installation library for scsh modules.
;;; $Id: install-lib.scm,v 1.24 2004/11/13 20:14:57 michel-schinz Exp $ ;;; $Id: install-lib.scm,v 1.25 2005/08/20 15:45:02 michel-schinz Exp $
;; TODO ;; TODO
;; - think about --build: does it make sense? ;; - think about --build: does it make sense?
@ -287,7 +287,7 @@
;; Phases ;; Phases
;; ;;
(define all-phases '(build install)) (define all-phases '(build build-clean install))
(define all-phases-str (string-join (map symbol->string all-phases) ", ")) (define all-phases-str (string-join (map symbol->string all-phases) ", "))
@ -811,8 +811,8 @@
("force" #f "overwrite existing files during installation") ("force" #f "overwrite existing files during installation")
("no-user-defaults" #f "don't read defaults from ~/.scsh-pkg-defaults.scm") ("no-user-defaults" #f "don't read defaults from ~/.scsh-pkg-defaults.scm")
;; advanced ;; advanced
("phases" "phases" ,(string-append "perform only the given phase(s) " ("phases" "phases" ("perform only the given phase(s) "
"("all-phases-str")")) ,(string-append "("all-phases-str")")))
("build" "name" "name of platform for which to build") ("build" "name" "name of platform for which to build")
("layout-from" "file" "load layout of installation directory from file") ("layout-from" "file" "load layout of installation directory from file")
("dest-dir" "dir" ("specify prefix to use during installation" ("dest-dir" "dir" ("specify prefix to use during installation"