diff options
-rw-r--r-- | Makefile | 18 | ||||
-rw-r--r-- | tests/Makefile | 2 |
2 files changed, 12 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: diff --git a/tests/Makefile b/tests/Makefile index f87964b..016315e 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -6,6 +6,8 @@ CPPFLAGS = -DERRORCHECK_MUTEXES -I ../ #REQ_PKGS = gtk+-3.0 webkitgtk-3.0 #CPPFLAGS = -DERRORCHECK_MUTEXES -DGTK3 -I ../ +# --- configuration ends here --- + REQ_PKGS += libsoup-2.4 gthread-2.0 glib-2.0 ARCH:=$(shell uname -m) |