summaryrefslogtreecommitdiffhomepage
path: root/make_dist_linux.sh
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-19 03:42:46 +0100
committerGitHub <noreply@github.com>2025-11-19 03:42:46 +0100
commit3bc2fca2c9beff13586b8bf3089ce439acb09de1 (patch)
tree4cf13eb975ef8a133ca0b28de29814c94f7daccc /make_dist_linux.sh
parentc9fd682f3662e0eec09de49a36a4ea199656da34 (diff)
parentb0292253ca9732b228ef505e3e719ae05c07c10c (diff)
Merge pull request #12 from amlel-el-mahrouss/develop
New OCL Distrib helpers.
Diffstat (limited to 'make_dist_linux.sh')
-rwxr-xr-xmake_dist_linux.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/make_dist_linux.sh b/make_dist_linux.sh
new file mode 100755
index 0000000..221b5f4
--- /dev/null
+++ b/make_dist_linux.sh
@@ -0,0 +1,17 @@
+#! /bin/sh
+
+outputDir=dist/lib/
+
+mkdir -p $outputDir
+
+for f in dev/lib/*/*.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