aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--nxcompshad/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dedbe21d8..7103efb34 100644
--- a/Makefile
+++ b/Makefile
@@ -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")
diff --git a/nxcompshad/Makefile.in b/nxcompshad/Makefile.in
index e14d58312..34b785d25 100644
--- a/nxcompshad/Makefile.in
+++ b/nxcompshad/Makefile.in
@@ -91,7 +91,7 @@ includedir = @includedir@
pkgconfigdir = @pkgconfigdir@
INSTALL = @INSTALL@
-INSTALL_DIR = $(INSTALL) -d -o root -g root -m 0755
+INSTALL_DIR = $(INSTALL) -d -m 0755
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_LINK = cp -av