Files
GacUI/.github/Ubuntu/vl/cmd/vmake
T
2026-05-01 02:20:10 -07:00

31 lines
448 B
Bash
Executable File

#!/bin/bash
function Help {
echo "Usage:"
echo "--make"
echo " Update ./makefile and ./vmake.txt from ./vmake."
}
function Make {
if [ -a vmake ]; then
vt4 --preprocess ./vmake | vt4 --evaluate | ${SHELL} > makefile
else
echo "Cannot find ./vmake ."
exit 1
fi
}
case $1 in
--help)
Help
;;
--make)
Make
;;
*)
echo "Use --help for more information."
;;
esac