Commit Graph

54 Commits

Author SHA1 Message Date
michel-schinz 6a142f272e - get the version from the Scheme code,
- updated for 1.1.0
2004-05-22 10:49:31 +00:00
michel-schinz 27e961ba2f - updated for 1.1.0 2004-05-22 10:48:46 +00:00
michel-schinz ba087d31af - use the quiet version of install-main 2004-05-22 10:47:06 +00:00
michel-schinz b6dc9aca17 - use new name of documentation,
- also install "install-lib-version.scm" file.
2004-05-22 10:46:37 +00:00
michel-schinz dc8bd5b49b *** empty log message *** 2004-05-22 10:45:30 +00:00
michel-schinz 8e199e877b - added interface & structure for install-lib-version
- export install-main-quiet from install-lib
2004-05-22 10:44:10 +00:00
michel-schinz f20724c6ac - added a quiet version of install-main,
- moved version to a separate file,
- minor reformatting to fit code in 80 columns.
2004-05-22 10:43:08 +00:00
michel-schinz 56067088b8 - renamed proposal.tex to install-lib.tex 2004-05-22 10:41:06 +00:00
michel-schinz ae527333f6 - bumped version to 1.1.0
- added pkg-def.scm to the list of files to put in the distribution
2004-05-17 20:15:11 +00:00
michel-schinz 54fabbbcf3 - added interfaces for the various utilities found in install-lib
(e.g. create-directory&parents),
- introduced the new name "install-lib" for the structure of the
  installation library (the old name, "install", is still there but
  deprecated)
2004-05-17 20:14:13 +00:00
michel-schinz 948a386108 - now use the installation library to install itself (also as a
package)
2004-05-17 20:12:30 +00:00
michel-schinz 922aafdcbf *** empty log message *** 2004-05-17 20:11:17 +00:00
michel-schinz d27e897f7f - removed obsolete file (superceded by scsh-install-pkg) 2004-05-17 20:10:58 +00:00
michel-schinz 7ed5e74151 - added define-program and install-program-main to the exported names 2004-05-16 14:33:49 +00:00
michel-schinz 2b825f6d36 - incorporated the rest of Martin's changes: the library can now be
used to install programs (although the internals still have to be
  cleaned, and the new features documented),
2004-05-16 14:33:12 +00:00
michel-schinz 3eee4ba1a8 - permissions can now be specified as a function or an integer
(equivalent to a constant function) everywhere,
- create-directory&parents is now independent from the installation
  library and could be reused in other contexts,
- incorporated first part of Martin's changes, which fix a problem
  with install-string: it now accepts optional permissions, and does
  not create a file in a dry run.
2004-05-12 18:39:04 +00:00
michel-schinz 001f7057c1 *** empty log message *** 2004-04-06 19:24:44 +00:00
michel-schinz 307a5966c8 - be slightly smarter when checking whether setting SCSH_LIB_DIRS is
required or not (although the current trick doesn't work with
  --dest-dir, but that's a minor detail)
2004-04-01 18:36:43 +00:00
michel-schinz 19197a7aca - install files in <prefix>/share/scsh-install-lib and
<prefix>/share/doc/scsh-install-lib instead of the previous
  locations
2004-04-01 18:34:43 +00:00
michel-schinz d73107f673 *** empty log message *** 2004-03-31 19:47:07 +00:00
michel-schinz 9fdff3a77c - fixed usage string,
- improved the "use hint" displayed at the end, and moved the code
  producing it to a separate function,
- made "--help" work even when no "pkg-def.scm" file is found.
2004-03-31 19:44:54 +00:00
michel-schinz f110632621 - adapted to the new stand-alone distribution mode,
- fixed a few references to ".scsh-pkg-defaults.scm",
- fixed a few typos.
2004-03-31 19:42:35 +00:00
michel-schinz e5bef8000d - adapted to the code: layouts include scsh's version,
install-lib-version,
- specified the location of pkg-def.scm,
- added acknowledgments.
2004-03-21 16:21:55 +00:00
michel-schinz b2a4c81312 - modified layouts so that scsh's major and minor versions appear
explicitely in all paths,
- check locations given by the package installation script, and fail
  if one is unknown,
- added "install-lib-version" extension, so that package installation
  scripts can explicitely specify which version of install-lib they
  need,
- added a message which is printed at the end of a successful
  installation and indicates how to set SCSH_LIB_DIRS,
- provided a way to "turn off" boolean options like --force, by
  providing an explicit "=no",
- replaced a few calls to "error" by calls to
  "display-error-and-exit", to try to be consistent and use "error"
  only for "internal" errors not due to the end user,
- removed "platform" parameter from layouts, not needed anymore since
  the "lib" location was made platform-independent a long time ago,
- documented --no-user-defaults.
2004-03-14 14:10:25 +00:00
michel-schinz 352d32cae6 - removed "configure.scm": from now on the installation library
depends on scsh 0.6.6 for its "configure" structure
2004-03-14 14:05:40 +00:00
michel-schinz dad8d7c6e7 - added srfi-2 and scsh-version to the structures opened by the
installation library
2004-03-14 14:03:26 +00:00
michel-schinz 31b8d82bd0 - documented ~/.scsh-pkg-defaults file,
- other small modifications
2004-02-29 20:00:47 +00:00
michel-schinz 06427ff520 - added user-specific defaults (stored in file ~/.scsh-pkg-defaults),
- added "exclude" option, to exclude some files,
- parse layouts *after* processing the options,
- changed "display-error-and-exit" to not use "format" anymore.
2004-02-23 20:11:40 +00:00
michel-schinz 47391a548d - added "load-package-in" function, to load sub-packages 2004-02-20 08:22:07 +00:00
michel-schinz 01e77fb69f - added "install-sub-package" function 2004-02-19 07:29:16 +00:00
michel-schinz 9f7024b044 - replaced textual proposal by LaTeX version 2004-02-11 19:45:19 +00:00
michel-schinz 37ea3f0ff8 *** empty log message *** 2004-02-11 19:43:01 +00:00
michel-schinz d1ab4c6817 - initial LaTeX version, which is basically a marked-up version of
the old text version
2004-02-11 19:42:30 +00:00
michel-schinz 87f1a912ff - added "--force" option 2004-02-10 20:25:47 +00:00
michel-schinz 9c2e376bf7 - added install-string 2004-02-08 09:50:47 +00:00
michel-schinz cfef23f1b3 Implemented suggestions by Anthony Carrico:
- display an error message when an unknown layout is given,
- the version number in "define-package" is now quasi-quoted,
- added "install-string" to install an arbitrary string in a file,
- forbid relative prefixes.
2004-02-08 09:50:14 +00:00
frese dc75e91598 - fixed a little typo in with-output-to-load-script* 2004-02-01 23:14:39 +00:00
michel-schinz 21345178f6 - added a location to store textual documentation 2004-02-01 17:23:38 +00:00
michel-schinz 6687435871 - added with-output-to-load-script(*) and write-to-load-script
functions, which provide support for creating the package-loading
  script,
- added a code template to load libtool's ".la" files, stolen from
  scsh-yp (by Eric Knauel),
- added "--verbose" option,
- preserve permissions of copied files/directories, and use a
  function to obtain permissions for new directories.
2004-02-01 17:22:43 +00:00
frese a4bde841c8 install-thing% must use -create-direcory instead of create-directory 2003-12-22 14:13:13 +00:00
michel-schinz b934e1f8ce - adapted the description of the scsh layout to the code,
- replaced documentation about "--install-prefix" by some
  documentation about "--dest-dir".
2003-12-21 21:01:26 +00:00
michel-schinz 02993a2bfe - added new functions "identity", "parse-boolean", "show-boolean" and
"get-option-value",
- removed obsolete functions "with-optional-part?" and
  "is-running-dry?".
2003-12-21 20:55:40 +00:00
michel-schinz 1e8c345f34 - added support for package-specific command-line options (this
implied a complete rewrite of command-line parsing),
- added "--non-shared-only" option, to install only platform-specific
  files,
- changed option "--install-prefix" to "--dest-dir", and modified its
  behaviour so that it now really behaves like DESTDIR,
- changed the meanining of the "lib" location, which must now contain
  one directory per supported platform,
- added (exported) function "get-option-value" which returns the value
  of a command-line options; this subsumes "is-running-dry?" and
  "with-optional-part?", which were consequently removed,
- commented most functions.
2003-12-21 20:54:23 +00:00
michel-schinz 67dfdb7007 - also open the "configure" module so that the "host" function is
available in pkg-def.scm
2003-12-21 20:44:58 +00:00
michel-schinz be524421ff - changed the meaning of the "lib" location, so that it now always
includes one sub-directory per platform
2003-12-21 20:43:39 +00:00
michel-schinz 19754f5cdf - introduced layouts 2003-12-16 22:16:43 +00:00
michel-schinz ebc512096b *** empty log message *** 2003-12-14 14:46:10 +00:00
michel-schinz ba49bc8ccf - added configure.scm to the modules list 2003-12-14 14:45:57 +00:00
michel-schinz c7eae30444 - added layouts, which means:
- removed query functions, which do not belong to the installation
    library anyway, and which will have to be redone for layouts,
  - replaced functions "package-installation-dir" and
    "package-installation-staging-dir" by "get-directory",
  - changed "install-file" & friends for layouts,
- added "install-directory-contents",
- rewrote option parsing code,
- slightly adapted David Frese's code.
2003-12-14 14:45:20 +00:00
michel-schinz d6e62d6c6e - added layouts, which means:
- removed query functions, which do not belong to the installation
    library anyway, and which will have to be redone for layouts,
  - replaced functions "package-installation-dir" and
    "package-installation-staging-dir" by "get-directory",
  - changed "install-file" & friends for layouts,
- added "install-directory-contents".
2003-12-14 14:43:18 +00:00