c-parser: remove obsolete mkrelease checks

The @License tags are no longer used, and SPDX tags are checked in CI,
and name tags are no longer used in the sources either.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
This commit is contained in:
Gerwin Klein 2023-11-03 09:34:38 +11:00 committed by Achim D. Brucker
parent f6702ed92b
commit 20b09e19a2
1 changed files with 0 additions and 17 deletions

View File

@ -183,7 +183,6 @@ sed '
' < standalone-parser/Makefile > "$outputdir/src/c-parser/standalone-parser/Makefile"
popd > /dev/null
echo "Making PDF of ctranslation file."
cd "$outputdir/src/c-parser/doc"
make ctranslation.pdf > /dev/null
@ -192,22 +191,6 @@ mv ctranslation.pdf "$outputdir/doc"
popd > /dev/null
lookforlicense=$(find "$outputdir" \! -name '*.lex.sml' \! -name '*.grm.sml' \! -type d -exec grep -q @LICENSE \{\} \; -print)
if [ -n "$lookforlicense" ]
then
die "### @LICENSE detected in file(s) $lookforlicense"
else
echo "No @LICENSEs remain unexpanded - good."
fi
lookformichaeln=$(find "$outputdir" \! -name RELEASES.md \! -type d -exec grep -q /michaeln \{\} \; -print)
if [ -n "$lookformichaeln" ]
then
die "### /michaeln detected in file(s) $lookformichaeln"
else
echo "No occurrences of \"/michaeln\" - good."
fi
echo -n "Compressing into $stem.tar.gz: "
mv "$tmpdir/c-parser" "$tmpdir/$stem"