You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.2 KiB
57 lines
1.2 KiB
18 years ago
|
#!/bin/sh
|
||
|
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
|
#
|
||
|
# T2 SDE: package/.../elfkickers/elfkickers.conf
|
||
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
||
|
#
|
||
|
# More information can be found in the files COPYING and README.
|
||
|
#
|
||
|
# This program 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; version 2 of the License. A copy of the
|
||
|
# GNU General Public License can be found in the file COPYING.
|
||
|
# --- T2-COPYRIGHT-NOTE-END ---
|
||
|
|
||
|
custmain=pkg_elfkickers_main
|
||
|
autodoc=0
|
||
|
|
||
|
pkg_elfkickers_main() {
|
||
|
local x= y=
|
||
|
|
||
|
# tiny cames with /free/ prebuilts
|
||
|
eval $MAKE -C tiny clean
|
||
|
|
||
|
# make all
|
||
|
for x in *; do
|
||
|
if [ -d $x ]; then
|
||
|
eval $MAKE -C $x $makeopt
|
||
|
fi
|
||
|
done
|
||
|
|
||
|
# make install
|
||
|
echo "Installing..."
|
||
|
for x in *; do
|
||
|
if [ -d $x -a $x != 'tiny' ]; then
|
||
|
cp -v $x/$x $bindir/$x
|
||
|
fi
|
||
|
done
|
||
|
|
||
|
# install doc
|
||
|
echo "Copying documentation..."
|
||
|
for x in *; do
|
||
|
if [ -d $x ]; then
|
||
|
mkdir -vp $docdir/$x
|
||
|
if [ $x == 'tiny' ]; then
|
||
|
for y in $x/*; do
|
||
|
[ ! -x $y ] && cp -v $y $docdir/$x
|
||
|
done
|
||
|
else
|
||
|
cp -v $x/README $docdir/$x/README
|
||
|
fi
|
||
|
else
|
||
|
cp $x $docdir
|
||
|
fi
|
||
|
done
|
||
|
}
|