aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-05 21:32:05 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-05 21:32:05 +0100
commit463cd067062ad0d646fb643da1b334d11edf51e7 (patch)
treec8f1440b81509bf55395ebbbb8b587a159f5bba5
parentfirst commit (diff)
downloadlibclut-463cd067062ad0d646fb643da1b334d11edf51e7.tar.gz
libclut-463cd067062ad0d646fb643da1b334d11edf51e7.tar.bz2
libclut-463cd067062ad0d646fb643da1b334d11edf51e7.tar.xz
add deps and install
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r--DEPENDENCIES21
-rw-r--r--INSTALL80
2 files changed, 101 insertions, 0 deletions
diff --git a/DEPENDENCIES b/DEPENDENCIES
new file mode 100644
index 0000000..2138f8e
--- /dev/null
+++ b/DEPENDENCIES
@@ -0,0 +1,21 @@
+RUNTIME DEPENDENCIES:
+
+ libc
+
+
+BUILD DEPENDENCIES:
+
+ make
+ coreutils
+ texinfo>=4.11 (opt-out, for info, pdf, dvi, ps, and html manuals)
+ texlive-plainextra (opt-in, for pdf, dvi, and ps manuals)
+
+ texinfo<4.11 can be used if '@frenchspacing on' is removed.
+
+
+INSTALL DEPENDENCIES:
+
+ make
+ coreutils
+ texinfo (opt-out, for dir-entry of info manual)
+
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..d63749b
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,80 @@
+Type './configure --help' for configuration options. The normal settings for a
+GNU package should work. If not, please make a bug report.
+
+ On a common GNU/Linux distribution the following should
+ be sufficient for most users:
+
+ ./configure --prefix=/usr
+ make
+ make install DESTDIR="somewhere you want the files for now"
+ # Now let the package manager put the files in place...
+
+ Or for an unstaged install:
+
+ ./configure --prefix=/usr
+ make
+ sudo make install
+
+By default any applicable pre-install, post-install, pre-uninstall, and
+post-install commands is run. This suppress these, run 'make' with 'N=true'
+or 'N=:'. IF you want to know which these commands are, you can use the
+methods specificed in the GNU Coding Standards. Another method is found in
+mk/README. However, for this packages, these will be:
+
+ infodir="usr/local/share/info" ## Assuming default prefix.
+
+ post_install () {
+ install-info -- "${infodir}/libclut.info" "${infodir}/dir"
+ }
+
+ pre_uninstall () {
+ install-info --delete -- "${infodir}/libclut.info" "${infodir}/dir"
+ }
+
+
+────────────────────────────────────────────────────────────────────────────────
+CUSTOMISED COMPILATION
+────────────────────────────────────────────────────────────────────────────────
+
+The makefile is configured to compile the C code with -O2 -g, you can
+change this by setting OPTIMISE, or with CFLAGS and LDFLAGS if you want
+to change all optional flags compiling and linking flags:
+
+ ./configure OPTIMISE="-Og -g"
+
+
+────────────────────────────────────────────────────────────────────────────────
+CUSTOMISED INSTALLATION
+────────────────────────────────────────────────────────────────────────────────
+
+If you want to install absolutely everything, you can
+instead use the commands below:
+
+ make everything
+ make install-everything DESTDIR="pkg"
+
+Or if you only want to absolute basics:
+
+ make base
+ make install-base DESTDIR="pkg"
+
+You can select freely what parts of the package to install and not
+to install. This rules are available:
+
+┌─────────────┬─────────────────────┬────────────────────────────────────────────┐
+│ COMPILATION │ INSTALLATION │ DESCRIPTION │
+├─────────────┼─────────────────────┼────────────────────────────────────────────┤
+│ base │ install-base │ Install the basics: │
+│ │ install-lib │ Install the libclut library. │
+│ │ install-librarian │ Install the librarian file. │
+│ │ install-pc │ Install the pkg-config file. │
+│ │ install-copyright │ Install the Expat License. │
+│ doc │ install-doc │ Include all manuals: │
+│ info │ install-info │ Include info manual. (Texinfo) │
+│ dvi │ install-dvi │ Include DVI manual. (Texinfo) │
+│ pdf │ install-pdf │ Include PDF manual. (Texinfo) │
+│ ps │ install-ps │ Include PostScript manual. (Texinfo) │
+│ html │ install-html │ Include multifile HTML manual. (Texinfo) │
+│ │ install-man │ Include man pages. │
+└─────────────┴─────────────────────┴────────────────────────────────────────────┘
+