diff options
author | Brendan Taylor <whateley@gmail.com> | 2010-12-27 17:50:30 -0700 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2010-12-27 19:01:07 -0700 |
commit | 78b038182f33a22196289e4a34cb411b7ca96543 (patch) | |
tree | 287600fdf5744854ee9348d67be6735d107d7c26 /Makefile | |
parent | db5c6864ca7765b01d904ff1179d6522198c6d70 (diff) |
separate makefile configuration section from rules section
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -1,5 +1,13 @@ # first entries are for gnu make, 2nd for BSD make. see http://lists.uzbl.org/pipermail/uzbl-dev-uzbl.org/2009-July/000177.html +# packagers, set DESTDIR to your "package directory" and PREFIX to the prefix you want to have on the end-user system +# end-users who build from source: don't care about DESTDIR, update PREFIX if you want to +# RUN_PREFIX : what the prefix is when the software is run. usually the same as PREFIX +PREFIX?=/usr/local +INSTALLDIR?=$(DESTDIR)$(PREFIX) +DOCDIR?=$(INSTALLDIR)/share/uzbl/docs +RUN_PREFIX?=$(PREFIX) + # gtk2 REQ_PKGS = gtk+-2.0 webkit-1.0 CPPFLAGS = @@ -8,6 +16,8 @@ CPPFLAGS = #REQ_PKGS = gtk+-3.0 webkitgtk-3.0 #CPPFLAGS = -DGTK3 +# --- configuration ends here --- + REQ_PKGS += libsoup-2.4 gthread-2.0 glib-2.0 ARCH:=$(shell uname -m) @@ -50,14 +60,6 @@ uzbl-cookie-manager: examples/uzbl-cookie-manager.o src/util.o uzbl-browser: uzbl-core uzbl-cookie-manager -# packagers, set DESTDIR to your "package directory" and PREFIX to the prefix you want to have on the end-user system -# end-users who build from source: don't care about DESTDIR, update PREFIX if you want to -# RUN_PREFIX : what the prefix is when the software is run. usually the same as PREFIX -PREFIX?=/usr/local -INSTALLDIR?=$(DESTDIR)$(PREFIX) -DOCDIR?=$(INSTALLDIR)/share/uzbl/docs -RUN_PREFIX?=$(PREFIX) - # the 'tests' target can never be up to date .PHONY: tests force: |