diff options
-rwxr-xr-x | sofort.sh | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -105,7 +105,21 @@ done cp "$srcdir"/COPYING.SOFORT "$dstdir" || exit 2 cp "$srcdir"/src/internal/argv/argv.h "$dstdir"/src/internal/argv || exit 2 -# seven: finalize +# seven: remove dummy interfaces +rm "$dstdir"/src/output/* || exit 2 + +recipe="$dstdir"/project/common.mk +files=$(find . -type f) + +grep -v 'src/output' "$recipe" > "$recipe".tmp || exit 2 +mv "$recipe".tmp "$recipe" || exit 2 + +for f in $files; do + grep -v 'dummy' "$f" > "$f".tmp + mv "$f".tmp "$f" || exit 2 +done + +# eight: finalize uppername=`echo "$project" | tr '[:lower:]' '[:upper:]'` utilcsrc=src/$project.c |