diff --git a/Makefile b/Makefile index 6380898..7249985 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ minor-version = 8 version := $(major-version).$(minor-version) prefix = /tmp/sunterlib +dest-dir = /tmp/stage s48-authors := $(shell find s48 \ -maxdepth 2 -mindepth 2 \ @@ -44,9 +45,15 @@ pkg-def.scm : $(s48-authors) $(scsh-authors) \ build/dirs.scm build/make-pkg-def.scm $(major-version) $(minor-version) -.PHONY : install uninstall +.PHONY : install uninstall build-phase install-phase install : $(targets) - scsh-install-pkg --prefix $(prefix) + scsh-install-pkg --prefix $(prefix) --dest-dir $(dest-dir) + +build-phase: $(targets) + scsh-install-pkg --prefix $(prefix) --dest-dir $(dest-dir) --phases build + +install-phase: $(targets) + scsh-install-pkg --prefix $(prefix) --dest-dir $(dest-dir) --phases install .PHONY : dist dist : $(targets) diff --git a/NEWS b/NEWS index 337bc31..cc5de01 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ version 0.8 +* Use install lib version 1.2.0 +* Automatically check if libraries' NEWS and pkg-def.scm versions match. * New s48 library: riatables version 0.7 2004-06-03 diff --git a/s48/args-fold/pkg-def.scm b/s48/args-fold/pkg-def.scm index 7b6c636..147aa6d 100644 --- a/s48/args-fold/pkg-def.scm +++ b/s48/args-fold/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "srfi-37" (0 4) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/banana/pkg-def.scm b/s48/banana/pkg-def.scm index 69891ba..40e0c8d 100644 --- a/s48/banana/pkg-def.scm +++ b/s48/banana/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "banana" (0 1) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/binary-parse/pkg-def.scm b/s48/binary-parse/pkg-def.scm index 28fd8f5..d5f7e2f 100644 --- a/s48/binary-parse/pkg-def.scm +++ b/s48/binary-parse/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "binary-parse" (1 0) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/cml/pkg-def.scm b/s48/cml/pkg-def.scm index cf1c6a3..7ec0c7b 100644 --- a/s48/cml/pkg-def.scm +++ b/s48/cml/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "cml" (1 1) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/concurrency/pkg-def.scm b/s48/concurrency/pkg-def.scm index bdbb856..edda849 100644 --- a/s48/concurrency/pkg-def.scm +++ b/s48/concurrency/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "concurrency" (0 2) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/continuation-data-type/pkg-def.scm b/s48/continuation-data-type/pkg-def.scm index a76b5a3..db1a6da 100644 --- a/s48/continuation-data-type/pkg-def.scm +++ b/s48/continuation-data-type/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "continuation-data-type" (0 1) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/exceptions/pkg-def.scm b/s48/exceptions/pkg-def.scm index 67b845b..47227b3 100644 --- a/s48/exceptions/pkg-def.scm +++ b/s48/exceptions/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "exceptions" (0 1) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/heap-images/pkg-def.scm b/s48/heap-images/pkg-def.scm index 0bdad39..17a3449 100644 --- a/s48/heap-images/pkg-def.scm +++ b/s48/heap-images/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "heap-images" (1 0) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/intsets/pkg-def.scm b/s48/intsets/pkg-def.scm index f3cb656..939d5f0 100644 --- a/s48/intsets/pkg-def.scm +++ b/s48/intsets/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "intsets" (1 0) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/krims/pkg-def.scm b/s48/krims/pkg-def.scm index cb7a73e..822a940 100644 --- a/s48/krims/pkg-def.scm +++ b/s48/krims/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "krims" (0 1) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/module-system/pkg-def.scm b/s48/module-system/pkg-def.scm index 3b33b62..a8c7fc0 100644 --- a/s48/module-system/pkg-def.scm +++ b/s48/module-system/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "module-system" (1 0) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/procedure-tables/pkg-def.scm b/s48/procedure-tables/pkg-def.scm index c0c3ba0..e356499 100644 --- a/s48/procedure-tables/pkg-def.scm +++ b/s48/procedure-tables/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "procedure-tables" (0 1) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/profile/pkg-def.scm b/s48/profile/pkg-def.scm index 2160c33..993943d 100644 --- a/s48/profile/pkg-def.scm +++ b/s48/profile/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "profile" (0 0) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/riatables/pkg-def.scm b/s48/riatables/pkg-def.scm index 4d76d8c..79a6cf8 100644 --- a/s48/riatables/pkg-def.scm +++ b/s48/riatables/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "riatables" (0 1) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/s48/srfi-10/pkg-def.scm b/s48/srfi-10/pkg-def.scm index f8f2f1a..e07b35f 100644 --- a/s48/srfi-10/pkg-def.scm +++ b/s48/srfi-10/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "srfi-10" (0 1) - () + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/scsh/afs/pkg-def.scm b/scsh/afs/pkg-def.scm index 60d60b9..16c4ef5 100644 --- a/scsh/afs/pkg-def.scm +++ b/scsh/afs/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "afs" (0 2) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/scsh/base64/pkg-def.scm b/scsh/base64/pkg-def.scm index fa27321..3837c91 100644 --- a/scsh/base64/pkg-def.scm +++ b/scsh/base64/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "base64" (1 0) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/scsh/bytio/pkg-def.scm b/scsh/bytio/pkg-def.scm index b6e5b23..15f6d53 100644 --- a/scsh/bytio/pkg-def.scm +++ b/scsh/bytio/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "bytio" (1 0) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/scsh/dir-streams/pkg-def.scm b/scsh/dir-streams/pkg-def.scm index 257688b..ce7dfa7 100644 --- a/scsh/dir-streams/pkg-def.scm +++ b/scsh/dir-streams/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "dir-streams" (1 0) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/scsh/file-mode/pkg-def.scm b/scsh/file-mode/pkg-def.scm index b14a222..9b2c9ee 100644 --- a/scsh/file-mode/pkg-def.scm +++ b/scsh/file-mode/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "file-mode" (1 0) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/scsh/image-info/pkg-def.scm b/scsh/image-info/pkg-def.scm index 1cca39a..7fb28b4 100644 --- a/scsh/image-info/pkg-def.scm +++ b/scsh/image-info/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "image-info" (1 0) - () + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/scsh/interaction/pkg-def.scm b/scsh/interaction/pkg-def.scm index 079e020..070a204 100644 --- a/scsh/interaction/pkg-def.scm +++ b/scsh/interaction/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "interaction" (0 3) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/scsh/pps/pkg-def.scm b/scsh/pps/pkg-def.scm index 89f2755..88e5a17 100644 --- a/scsh/pps/pkg-def.scm +++ b/scsh/pps/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "pps" (1 1) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/scsh/sequences/pkg-def.scm b/scsh/sequences/pkg-def.scm index 475126b..fa328d7 100644 --- a/scsh/sequences/pkg-def.scm +++ b/scsh/sequences/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "sequences" (1 0) - () + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/scsh/tiff/pkg-def.scm b/scsh/tiff/pkg-def.scm index a912f3b..21843b9 100644 --- a/scsh/tiff/pkg-def.scm +++ b/scsh/tiff/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "tiff" (1 1) - () + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm" diff --git a/scsh/treaps/pkg-def.scm b/scsh/treaps/pkg-def.scm index 8544145..172d39d 100644 --- a/scsh/treaps/pkg-def.scm +++ b/scsh/treaps/pkg-def.scm @@ -1,6 +1,6 @@ (define-package "treaps" (1 0) - ((install-lib-version (1 0))) + ((install-lib-version (1 2 0))) (write-to-load-script `((config) (load ,(absolute-file-name "packages.scm"