summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-08-04 09:19:32 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-08-04 09:19:32 (EDT)
commit9a4588d32783fb997395c337f30f8b959930fb92 (patch)
tree39b858ade1bd34852891872db1231fb577650bb2 /build
parent78b87d879c5f8a223e36dbfb140a09ca021223f5 (diff)
build: Fix installation.
ncurses's custom makefile doesn't seem to support DESTDIR very well.
Diffstat (limited to 'build')
-rwxr-xr-xbuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/build b/build
index 39de86c..5132d44 100755
--- a/build
+++ b/build
@@ -2,6 +2,7 @@
build-ncurses:
oh-autoconfigure -B obj-ncurses -- \
+ --with-install-prefix="$${PWD}/dest" \
--without-profile \
--without-debug \
--without-ada \
@@ -16,6 +17,9 @@ build-ncurses:
build-ncursesw:
oh-autoconfigure -B obj-ncursesw -- \
--includedir=/usr/include/ncursesw \
+ --with-install-prefix="$${PWD}/dest" \
+ --without-manpages \
+ --without-progs \
--without-profile \
--without-debug \
--without-ada \
@@ -31,6 +35,6 @@ build-ncursesw:
build: build-ncurses build-ncursesw
install: build
- oh-autoinstall -B obj-ncurses
- oh-autoinstall -B obj-ncursesw
+ (cd obj-ncurses && make install)
+ (cd obj-ncursesw && make install.libs)
oh-installfiles