mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-16 22:35:41 +00:00
Check for Mmakefile' as an alternative to Mmake'.
Estimated hours taken: 0.25 scripts/mmake.in: Check for `Mmakefile' as an alternative to `Mmake'. (This change is so I can rename scripts/Mmake as Mmakefile to avoid a conflict with scripts/mmake on systems with case-insensitive file systems, e.g. Windows 95.)
This commit is contained in:
@@ -82,10 +82,14 @@ EOF
|
||||
esac
|
||||
done
|
||||
|
||||
if [ -f Mmake ]; then
|
||||
mmake="Mmake"
|
||||
if [ -f Mmakefile ]; then
|
||||
mmake="Mmakefile"
|
||||
else
|
||||
mmake=""
|
||||
if [ -f Mmake ]; then
|
||||
mmake="Mmake"
|
||||
else
|
||||
mmake=""
|
||||
fi
|
||||
fi
|
||||
if [ "`echo *.dep`" = "*.dep" ]; then
|
||||
deps=""
|
||||
|
||||
Reference in New Issue
Block a user