summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-28 09:53:18 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-28 09:53:18 (EDT)
commitf125cca73ebab158f8c602efa4e98152732707fb (patch)
tree5b241d92978c999d1b9e125fb156c91b4565bed2 /build
parent3efbbcfc1f873c3359efc8d53676d4c0bd9b2411 (diff)
Clean up installation of ncursesw files.
Diffstat (limited to 'build')
-rwxr-xr-xbuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/build b/build
index aba9c0c..de36293 100755
--- a/build
+++ b/build
@@ -27,7 +27,7 @@ ncurses.buildstamp:
.SILENT: ncursesw.buildstamp
ncursesw.buildstamp:
cd src && \
- ./configure --prefix=/usr \
+ ./configure --prefix=/usr --includedir=/usr/include/ncursesw \
--build=$${OH_BUILD_ARCH_GNU} --host=$${OH_HOST_ARCH_GNU} \
--without-profile --without-debug --without-ada --with-shared \
--disable-termcap --without-termlib --without-ticlib \
@@ -35,6 +35,9 @@ ncursesw.buildstamp:
--disable-maintainer-mode \
--disable-python && \
make && make DESTDIR=$$(pwd)/../dest install
+ cd dest && \
+ rm -Rf usr/bin usr/man usr/share && \
+ rm -Rf usr/lib/terminfo
oh-installfiles $(pkgs_wide)
oh-installdocs libncurses.5
oh-gencontrol $(pkgs_wide)