(file) Return to buildincludes CVS log (file) (dir) Up to [Pegasus] / pegasus / rpm

File: [Pegasus] / pegasus / rpm / Attic / buildincludes (download)
Revision: 1.3, Tue Feb 26 12:45:29 2002 UTC (22 years, 3 months ago) by sage
Branch: MAIN
Changes since 1.2: +5 -2 lines
rpm build process fixed

#!/bin/bash
#
# Build include files
#
#PROOT=/home/markus/src/pegasus
#BROOT=/home/markus/src/tmp
PROOT=$1
BROOT=$2
LISTLOC=$3

echo "Copy include files from "$PROOT" into "$BROOT" - list in "$LISTLOC

rm -f $LISTLOC/rpm_pegasus_include_files
pushd  $PROOT/src
list=`find Pegasus -iname '*.h'`
popd
for i in $list;do
    j=`dirname $i`;
    echo "/usr/include/"$i >> $LISTLOC/rpm_pegasus_include_files
    mkdir -p $BROOT/usr/include/$j
    cp $PROOT/src/$i $BROOT/usr/include/$i
done;

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2