Files
LFSDesktopProject/buildall
2025-01-15 12:04:51 +00:00

41 lines
1.2 KiB
Bash
Executable File

#!/bin/bash -e
#
#©K. D. Hedger. Tue 31 Jul 13:33:01 BST 2018 keithdhedger@gmail.com
#
#This file (makeall) is part of LFSDesktopProject.
#
#LFSDesktopProject is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation, either version 3 of the License, or
#at your option) any later version.
#
#LFSDesktopProject is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with LFSDesktopProject. If not, see <http://www.gnu.org/licenses/>.
#
PREFIX="/usr"
STAGING=
LDCONFIG="/sbin/ldconfig"
for arg in LFSToolKit LFSSetWallpaper LFSDesktop LFSWM2 LFSPanel LFSApplications LFSDock LFSTray
do
pushd ${arg}
./autogen.sh --prefix=${PREFIX}||(echo "Configure Error...";exit 1)
make -j$(nproc)
if [ $arg = "LFSToolKit" ];then
make purge DESTDIR=${STAGING}||true
fi
make install DESTDIR=${STAGING}
if [ $arg = "LFSToolKit" ];then
$LDCONFIG
fi
popd
done