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

File: [Pegasus] / pegasus / rpm / Attic / buildincludes (download)
Revision: 1.4, Thu Feb 28 10:58:35 2002 UTC (22 years, 3 months ago) by sage
Branch: MAIN
CVS Tags: test, pep_88, mday-merge-start, mday-merge-pegasus/src/Pegasus/Server, mday-merge-pegasus/src/Pegasus/Common, mday-2-0-patches, local, VERSION_2_1_RELEASE_HEAD, VERSION_2_1_RELEASE_BRANCH, VERSION_2_1_RELEASE, VERSION_2_1_1_RELEASE, VERSION_2_01_01, VERSION_2_00_RC_4, VERSION_2_00_RC_3, VERSION_2_00_RC_2, VERSION_2_00_RC_1, VERSION_2_00_BRANCH, VERSION_1_10, VERSION_1_09, VERSION_1_08, TEST, STABLE, RELEASE_2_4_FC_CANDIDATE_1, RELEASE_2_3_2-testfreeze, RELEASE_2_3_2-root, RELEASE_2_3_2-releasesnapshot, RELEASE_2_3_2-branch-freeze, RELEASE_2_3_2-branch, RELEASE_2_3_1-root, RELEASE_2_3_1-branch, RELEASE_2_3_0-root, RELEASE_2_3_0-msg-freeze, RELEASE_2_3_0-branch, RELEASE_2_2_1-snapshot, RELEASE_2_2_0_0-release, RELEASE_2_2_0-root, RELEASE_2_2_0-branch, RELEASE_2_2-root, PRE_LICENSE_UPDATE_2003, POST_LICENSE_UPDATE_2003, PEGASUS_FC_VERSION_2_2, MONITOR_CONSOLIDATION_2_5_BRANCH, LOCAL_ASSOCPROV-ROOT, LOCAL_ASSOCPROV-BRANCH
Changes since 1.3: +2 -1 lines
*** empty log message ***

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

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