3 # Midnight Commander - build and test common configurations
6 # The Free Software Foundation, Inc.
9 # Slava Zanko <slavazanko@gmail.com>, 2015
10 # Yury V. Zaytsev <yury@shurup.com>, 2015
12 # This file is part of the Midnight Commander.
14 # The Midnight Commander is free software: you can redistribute it
15 # and/or modify it under the terms of the GNU General Public License as
16 # published by the Free Software Foundation, either version 3 of the License,
17 # or (at your option) any later version.
19 # The Midnight Commander is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU General Public License for more details.
24 # You should have received a copy of the GNU General Public License
25 # along with this program. If not, see <http://www.gnu.org/licenses/>.
36 # Build distribution archive
37 mkdir
-p distrib
&& cd $_
42 DISTFILE
=$
(ls mc-
*.
tar.bz2
)
43 DISTDIR
=$
(basename "$DISTFILE" .
tar.bz2
)
48 # Build default configuration (S-Lang)
49 mkdir
-p build-default
&& pushd $_
52 --prefix="$(pwd)/INSTALL_ROOT" \
54 --enable-maintainer-mode \
65 # Build default configuration (ncurses)
66 mkdir
-p build-ncurses
&& pushd $_
69 --prefix="$(pwd)/INSTALL_ROOT" \
70 --with-screen=ncurses \
71 --enable-maintainer-mode \
83 mkdir
-p build-all-disabled
&& pushd $_
86 --prefix="$(pwd)/INSTALL_ROOT" \
87 --disable-maintainer-mode \
94 --disable-background \
98 --without-internal-edit \
99 --without-diff-viewer \