From 84ef7218e051a9257c357aeace04d349eb7c5b3f Mon Sep 17 00:00:00 2001 From: merakor Date: Thu, 24 Dec 2020 14:57:02 +0000 Subject: INSTALL: add installation instructions FossilOrigin-Name: 9e9a372496a106e5300bcd2b157e2eaae204795430b68be33226834bc550f6c1 --- INSTALL | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 INSTALL diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..ccb873e --- /dev/null +++ b/INSTALL @@ -0,0 +1,34 @@ +Installation Instructions +========================= + +In order to install cpt, you either need a redo implementation on your system, +or use the `do` script inside the `minimal/` directory (which is slower but the +source code isn't that big anyways). + +Paths and version information can be configured from the `config.rc` file or +through environment variables. + + +Installing from a git checkout +------------------------------ + +On the git checkout of the repository, the info page for the package manager +doesn't exist. The build system looks for `makeinfo` in order to build the info +page, but exits with success if it isn't on your system. That's why you +shouldn't edit the MAKEINFO variable even if you don't have it on your system, +it is optional. + + +With redo +--------- + + redo + DESTDIR= PREFIX=/usr/local redo install + + +With minimal do +--------------- + + ./minimal/do + DESTDIR= PREFIX=/usr/local ./minimal/do install + -- cgit v1.2.3