Commit Graph

19 Commits

Author SHA1 Message Date
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
michel-schinz 0d791e3332 Incorporated changes by David Frese:
- added support for optional parts
- added is-running-dry? function
2003-12-14 12:33:59 +00:00
michel-schinz ca9d89951d - initial version 2003-12-14 12:23:51 +00:00
michel-schinz c133705d62 - initial version (no layouts, no support for optional parts) 2003-12-14 12:23:36 +00:00
michel-schinz 383349a3fa - initial version (no layouts yet) 2003-12-14 12:14:21 +00:00