|
|
6294e9 |
diff --git a/include/builddefs.in b/include/builddefs.in
|
|
|
6294e9 |
index 6df0f5a..575a6df 100644
|
|
|
6294e9 |
--- a/include/builddefs.in
|
|
|
6294e9 |
+++ b/include/builddefs.in
|
|
|
6294e9 |
@@ -40,14 +40,14 @@ PKG_RELEASE = @pkg_release@
|
|
|
6294e9 |
PKG_VERSION = @pkg_version@
|
|
|
6294e9 |
PKG_PLATFORM = @pkg_platform@
|
|
|
6294e9 |
PKG_DISTRIBUTION= @pkg_distribution@
|
|
|
6294e9 |
-PKG_BIN_DIR = @bindir@
|
|
|
6294e9 |
-PKG_SBIN_DIR = @sbindir@
|
|
|
6294e9 |
-PKG_LIB_DIR = @libdir@@libdirsuffix@
|
|
|
6294e9 |
-PKG_DEVLIB_DIR = @libexecdir@@libdirsuffix@
|
|
|
6294e9 |
-PKG_INC_DIR = @includedir@/attr
|
|
|
6294e9 |
-PKG_MAN_DIR = @mandir@
|
|
|
6294e9 |
-PKG_DOC_DIR = @datadir@/doc/@pkg_name@
|
|
|
6294e9 |
-PKG_LOCALE_DIR = @datadir@/locale
|
|
|
6294e9 |
+PKG_BIN_DIR = $(DESTDIR)@bindir@
|
|
|
6294e9 |
+PKG_SBIN_DIR = $(DESTDIR)@sbindir@
|
|
|
6294e9 |
+PKG_LIB_DIR = $(DESTDIR)@libdir@@libdirsuffix@
|
|
|
6294e9 |
+PKG_DEVLIB_DIR = $(DESTDIR)@libexecdir@@libdirsuffix@
|
|
|
6294e9 |
+PKG_INC_DIR = $(DESTDIR)@includedir@/attr
|
|
|
6294e9 |
+PKG_MAN_DIR = $(DESTDIR)@mandir@
|
|
|
6294e9 |
+PKG_DOC_DIR = $(DESTDIR)@datadir@/doc/@pkg_name@-@pkg_version@
|
|
|
6294e9 |
+PKG_LOCALE_DIR = $(DESTDIR)@datadir@/locale
|
|
|
6294e9 |
|
|
|
6294e9 |
CC = @cc@
|
|
|
6294e9 |
AWK = @awk@
|
|
|
6294e9 |
diff --git a/include/buildmacros b/include/buildmacros
|
|
|
6294e9 |
index ab89182..3118a17 100644
|
|
|
6294e9 |
--- a/include/buildmacros
|
|
|
6294e9 |
+++ b/include/buildmacros
|
|
|
6294e9 |
@@ -40,7 +40,7 @@ OBJECTS = $(ASFILES:.s=.o) \
|
|
|
6294e9 |
$(LFILES:.l=.o) \
|
|
|
6294e9 |
$(YFILES:%.y=%.tab.o)
|
|
|
6294e9 |
|
|
|
6294e9 |
-INSTALL = $(TOPDIR)/include/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
|
|
|
6294e9 |
+INSTALL = $(TOPDIR)/include/install-sh
|
|
|
6294e9 |
|
|
|
6294e9 |
SHELL = /bin/sh
|
|
|
6294e9 |
IMAGES_DIR = $(TOPDIR)/all-images
|