From ea00c2fc6d91d71b8cf3c8408af8ca8de7c037a6 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 27 Mar 2010 12:16:01 +0100 Subject: 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 --- README | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README') 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/ -- cgit v1.2.3