summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-28 09:25:07 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-28 09:25:07 (EDT)
commit727fb19ac69c1ff6d7642d1ea703f9b8fdc178a6 (patch)
treec1840645df26e13e86a2dae326d0dba80b7b2e3a /build
parentea907c135f1f7b2c5d1041c5360e5e251d62699f (diff)
Separate binary packages into two build passes.
Diffstat (limited to 'build')
-rwxr-xr-xbuild37
1 files changed, 27 insertions, 10 deletions
diff --git a/build b/build
index 6001ee4..aba9c0c 100755
--- a/build
+++ b/build
@@ -1,25 +1,42 @@
#! /usr/bin/make -f
-PKGS = libncurses.5 libncurses.5-dev libncurses-doc \
- libncursesw.5 libncursesw.5-dev \
- libtinfo.5 libtinfo-dev terminfo \
- ncurses-bin
+pkgs_normal = libncurses.5 libncurses.5-dev libncurses-doc \
+ libtinfo.5 libtinfo-dev terminfo \
+ ncurses-bin
+pkgs_wide = libncursesw.5 libncursesw.5-dev
-$(PKGS): ncurses.buildstamp
+$(pkgs_normal): ncurses.buildstamp
+$(pkgs_wide): ncursesw.buildstamp
.SILENT: ncurses.buildstamp
ncurses.buildstamp:
cd src && \
./configure --prefix=/usr \
--build=$${OH_BUILD_ARCH_GNU} --host=$${OH_HOST_ARCH_GNU} \
- --without-profile --without-debug --with-shared \
+ --without-profile --without-debug --without-ada --with-shared \
--disable-termcap --with-termlib=tinfo --with-ticlib=tic \
- --enable-widec \
--disable-maintainer-mode \
--disable-python && \
make && make DESTDIR=$$(pwd)/../dest install
- oh-installfiles $(PKGS)
+ oh-installfiles $(pkgs_normal)
oh-installdocs libncurses.5
- oh-gencontrol $(PKGS)
- oh-buildopk $(PKGS)
+ oh-gencontrol $(pkgs_normal)
+ oh-buildopk $(pkgs_normal)
touch ncurses.buildstamp
+
+.SILENT: ncursesw.buildstamp
+ncursesw.buildstamp:
+ cd src && \
+ ./configure --prefix=/usr \
+ --build=$${OH_BUILD_ARCH_GNU} --host=$${OH_HOST_ARCH_GNU} \
+ --without-profile --without-debug --without-ada --with-shared \
+ --disable-termcap --without-termlib --without-ticlib \
+ --enable-widec \
+ --disable-maintainer-mode \
+ --disable-python && \
+ make && make DESTDIR=$$(pwd)/../dest install
+ oh-installfiles $(pkgs_wide)
+ oh-installdocs libncurses.5
+ oh-gencontrol $(pkgs_wide)
+ oh-buildopk $(pkgs_wide)
+ touch ncursesw.buildstamp