summaryrefslogtreecommitdiffhomepage
path: root/make_dist_linux.sh
blob: 243232370073bb4ea7ae2ef7ced9041eeb9f2091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh

outputDir=dist/lib/

mkdir -p $outputDir

for f in include/ocl/*/*.hpp; do
baseName=`echo $f | cut -d "." -f 1`
echo "RUN:" cp --parents $f.hpp $outputDir$baseName
cp --parents $f.hpp $outputDir$baseName
done

for f in tools/*.py; do
baseName=`echo $f | cut -d "." -f 1`
echo "RUN:" ditto $baseName.py $outputDir$baseName
ditto $baseName.py $outputDir$baseName
done