aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-12-24 14:57:02 +0000
committermerakor <cem@ckyln.com>2020-12-24 14:57:02 +0000
commit84ef7218e051a9257c357aeace04d349eb7c5b3f (patch)
treee9128b3ba03daf158e19cb29b02083f24a535617
parentb23bcd14725db42e4c60235c701bd1d2c2aee3a3 (diff)
downloadcpt-84ef7218e051a9257c357aeace04d349eb7c5b3f.tar.gz
INSTALL: add installation instructions
FossilOrigin-Name: 9e9a372496a106e5300bcd2b157e2eaae204795430b68be33226834bc550f6c1
-rw-r--r--INSTALL34
1 files changed, 34 insertions, 0 deletions
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
+