aboutsummaryrefslogtreecommitdiff
path: root/BUILD.txt
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.txt')
-rw-r--r--BUILD.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/BUILD.txt b/BUILD.txt
index 2c43e39..ea26a0e 100644
--- a/BUILD.txt
+++ b/BUILD.txt
@@ -10,11 +10,13 @@ Build dependencies:
- rst2man. Only needed for regenerating the man pages.
+- make. This can be GNU, BSD, makepp, or probably any other standard-ish
+ make (anyone still using Solaris?).
+
Building:
If you're experienced at building software from source, src/Makefile
-should be self-explanatory. It requires GNU make, which might be
-"gmake" on your system.
+should be self-explanatory.
If you're not experienced, you can start by extracting the source:
@@ -22,18 +24,18 @@ If you're not experienced, you can start by extracting the source:
Next, compile the software:
- gmake
+ make
If you're on Slackware:
- sudo gmake install # or, as root, just 'gmake install'
+ sudo make install # or, as root, just 'make install'
This will install the binaries, man pages, and docs in locations
appropriate for Slackware Linux (since that's what the author uses).
If you're on a Debian or Ubuntu derivative, use:
- sudo gmake install MANDIR=/usr/share/man DOCDIR=/usr/share/doc/unalf
+ sudo make install MANDIR=/usr/share/man DOCDIR=/usr/share/doc/unalf
If you're on some other OS (Red Hat, *BSD, OSX, etc), ask someone
who actually uses that OS if you're not sure where things should be
@@ -41,13 +43,13 @@ installed to.
If you prefer /usr/local:
- sudo gmake install PREFIX=/usr/local MANDIR=/usr/local/share/man DOCDIR=/usr/local/share/doc/unalf
+ sudo make install PREFIX=/usr/local MANDIR=/usr/local/share/man DOCDIR=/usr/local/share/doc/unalf
Variables:
-You can set variables on the gmake command line. Example:
+You can set variables on the make command line. Example:
- gmake CC=clang COPT=-Os # use a different compiler, optimize for size
+ make CC=clang COPT=-Os # use a different compiler, optimize for size
See the top of src/Makefile for details on what variables exist and what
they're used for (not going to duplicate the list here).