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:
parent
f6702ed92b
commit
20b09e19a2
|
@ -183,7 +183,6 @@ sed '
|
||||||
' < standalone-parser/Makefile > "$outputdir/src/c-parser/standalone-parser/Makefile"
|
' < standalone-parser/Makefile > "$outputdir/src/c-parser/standalone-parser/Makefile"
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
|
|
||||||
echo "Making PDF of ctranslation file."
|
echo "Making PDF of ctranslation file."
|
||||||
cd "$outputdir/src/c-parser/doc"
|
cd "$outputdir/src/c-parser/doc"
|
||||||
make ctranslation.pdf > /dev/null
|
make ctranslation.pdf > /dev/null
|
||||||
|
@ -192,22 +191,6 @@ mv ctranslation.pdf "$outputdir/doc"
|
||||||
|
|
||||||
popd > /dev/null
|
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: "
|
echo -n "Compressing into $stem.tar.gz: "
|
||||||
mv "$tmpdir/c-parser" "$tmpdir/$stem"
|
mv "$tmpdir/c-parser" "$tmpdir/$stem"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue