summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsofort.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/sofort.sh b/sofort.sh
index ad7763e..193dfca 100755
--- a/sofort.sh
+++ b/sofort.sh
@@ -78,6 +78,19 @@ for f in $files; do
mv "$f.tmp" "$f" || exit 2
done
+# and also the driver and public headers
+files="$dstdir/src/driver/sfrt_driver_ctx.c"
+files="$files $dstdir/src/internal/sofort_driver_impl.h"
+files="$files $dstdir/include/sofort/sofort.h"
+files="$files $dstdir/include/sofort/sofort_api.h"
+
+upperspace=`echo "$project" | tr '[:lower:]' '[:upper:]'`
+
+for f in $files; do
+ sed -e s/SOFORT/$upperspace/g "$f" > "$f.tmp" || exit 2
+ mv "$f.tmp" "$f" || exit 2
+done
+
# and also project/tagver.mk, which has SFRT, not SFRT_
f=project/tagver.mk
upperspace=`echo "$namespace" | tr '[:lower:]' '[:upper:]'`