diff options
author | Salvador Fandiño <sfandino@yahoo.com> | 2017-05-31 14:30:32 +0200 |
---|---|---|
committer | Salvador Fandiño <sfandino@yahoo.com> | 2017-06-05 09:33:55 +0200 |
commit | f61956c1698560be5c492a4e5920b312e300d25a (patch) | |
tree | 30553ddd09444ecb778d28fe745f7b8e8a86ddc8 /Makefile | |
parent | 04fbb27267485c287752972e1a9ccf0c7f07aae9 (diff) | |
download | nx-libs-f61956c1698560be5c492a4e5920b312e300d25a.tar.gz nx-libs-f61956c1698560be5c492a4e5920b312e300d25a.tar.bz2 nx-libs-f61956c1698560be5c492a4e5920b312e300d25a.zip |
Propagate DESTDIR and PREFIX from Makefile
When descending subdirectories and calling configure pass
`--prefix=${DESTDIR}${PREFIX}`, so that installing in a
custom directory works.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ SHLIBDIR ?= $(LIBDIR) NXLIBDIR ?= $(SHLIBDIR)/nx USRLIBDIR ?= $(NXLIBDIR)/X11 INCLUDEDIR ?= $(PREFIX)/include -CONFIGURE ?= ./configure +CONFIGURE ?= ./configure --prefix=$(DESTDIR)$(PREFIX) # use Xfont2 if available in the build env FONT_DEFINES ?= $(shell pkg-config --modversion xfont2 1>/dev/null 2>/dev/null && echo "-DHAS_XFONT2") |