version/0.1
[cdimgtools.git] / INSTALL
blobe3312b4f8811279633b54d6d1ee08b9f0dca7bdf
1 Installation instructions
2 -------------------------
4 Download a tarball and extract it.
6 The quick and simple way to install CDimgtools with documentation in your home
7 directory +~/.local+ is to run:
9 [source,sh]
10 $ make .help
11 $ make
12 $ make install install-doc
14 Optionally, you can use the `configure` script to check for some dependencies
15 and install system-wide:
17 [source,sh]
18 $ ./configure
19 $ make
20 $ sudo make install
22 To configure CDimgtools you can tell `configure`.  For example:
24 [source,sh]
25 $ ./configure --prefix=$HOME/.local/stow/cdimgtools
27 or manually modify the +config.make+ file after a call to `configure`.
29 Distributors may use the +DESTDIR+ Makefile variable to install the files for
30 packaging:
32 [source,sh]
33 $ make install DESTDIR=./packagefiles
35 Documentation building
36 ~~~~~~~~~~~~~~~~~~~~~~
37 To avoid the installation of the documentation tool chain, pre-compiled
38 documentation files are available in distribution tarballs whose names end in
39 +-doc+.
41 To force the re-building of the documentation, delete the files first:
43 [source,sh]
44 $ make distclean doc-man doc-html
47 [[dependencies]]
48 Dependencies
49 ------------
51 The following tools are required:
53 [cols="3<,8<",options="header"]
54 |=============================================================================
55 |Tool               |Description
56 |Perl               |The scripts are written in perl.
57 |=============================================================================
59 The following optional tools and packages are needed for (re-)creating the
60 +configure+ script or for building the documentation:
62 [cols="3<,8<",options="header"]
63 |=============================================================================
64 |Tool               |Description
65 |autoconf           |Contains autoreconf for generating configure
66                  from configure.ac.
67 |asciidoc (>= 8.4)  |Generates HTML and (DocBook) XML from text.
68 |perldoc            |pod2man, pod2text, pod2html are used to extract the
69                  documentation from the perl scripts.
70 |=============================================================================