2023-02-27

itml2md

(sph install)

#(library-short-description (sph install))

a generic installer and installer file copy utilities includes extra bindings for installing guile modules part of #(link-c-one ("sph-lib" "start" "overview"))

usage example

"install-cli-guile" creates a command-line interface that can be distributed with files to install $ ./install --help

parameters
  options ...
options
  --dry-run  make no changes and only show the commands that would be executed
  --help | -h
  --interface
  --mode-directory=integer  default permissions in octal notation
  --mode-regular=integer  default permissions in octal notation
  --path-lib-scheme=string  path for installed guile modules. default is "/usr/share/guile/site"
  --prefix=string  prepended to each destination path
  --symlink  create symlinks instead of file copies

contents of the file "install"

#!/usr/bin/guile
!#

(import (sph install))

(install-cli-guile ("/usr/lib" "temp/libguile-dg.so")
  ((path-lib-scheme "sph/storage") "source/dg.scm") ((path-lib-scheme "test") "test/sph"))
#(library-documentation (sph install))