summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-03-27 12:16:01 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-03-27 12:16:01 +0100
commitea00c2fc6d91d71b8cf3c8408af8ca8de7c037a6 (patch)
treed113e1e07c6ae4fe7b9b3d27d35b1e23885abbad /README
parent69d69f145763f01724efdce119f6312272022740 (diff)
Makefile/config.mk: Support getting the usual values from the environment.
No need to edit config.mk to set addictional CFLAGS/LDFLAGS or change the DESTDIR etc. now
Diffstat (limited to 'README')
-rw-r--r--README5
1 files changed, 5 insertions, 0 deletions
diff --git a/README b/README
index 61db615..117898e 100644
--- a/README
+++ b/README
@@ -6,6 +6,11 @@ $ sudo make install
If compilation does not work or you want to customize stuff (like disable
Xinerama support), edit config.mk first.
+Note: config.mk is designed so that in most cases, you can set environment
+variables instead of editing it. E.g.:
+CFLAGS='-g -Os' make
+export DESTDIR=/tmp/feh PREFIX=/usr; make && make install
+
What is feh?
http://linuxbrit.co.uk/feh/