Attempt to correct file system case sensitivity.

This commit is contained in:
David Given 2017-08-06 11:15:53 +02:00
parent 6c6222cc66
commit a1043bc5fe
16 changed files with 12 additions and 12 deletions

View file

@ -31,8 +31,8 @@ normalrule {
} }
} }
for _, f in ipairs(filenamesof("./*.H")) do for _, f in ipairs(filenamesof("./*.xh")) do
local name = replace(basename(f), "%.H$", "") local name = replace(basename(f), "%.xh$", "")
normalrule { normalrule {
name = name.."_h", name = name.."_h",
ins = { ins = {
@ -46,8 +46,8 @@ for _, f in ipairs(filenamesof("./*.H")) do
} }
end end
for _, f in ipairs(filenamesof("./*.C")) do for _, f in ipairs(filenamesof("./*.xc")) do
local name = replace(basename(f), "%.C$", "") local name = replace(basename(f), "%.xc$", "")
normalrule { normalrule {
name = name.."_c", name = name.."_c",
ins = { ins = {
@ -65,8 +65,8 @@ normalrule {
name = "next_c", name = "next_c",
ins = { ins = {
"./make.next", "./make.next",
"./*.H", "./*.xh",
"./*.C", "./*.xc",
}, },
outleaves = { "next.c" }, outleaves = { "next.c" },
commands = { commands = {

View file

@ -31,8 +31,8 @@ normalrule {
} }
} }
for _, f in ipairs(filenamesof("./*.H")) do for _, f in ipairs(filenamesof("./*.xh")) do
local name = replace(basename(f), "%.H$", "") local name = replace(basename(f), "%.xh$", "")
normalrule { normalrule {
name = name.."_h", name = name.."_h",
ins = { ins = {
@ -46,8 +46,8 @@ for _, f in ipairs(filenamesof("./*.H")) do
} }
end end
for _, f in ipairs(filenamesof("./*.C")) do for _, f in ipairs(filenamesof("./*.xc")) do
local name = replace(basename(f), "%.C$", "") local name = replace(basename(f), "%.xc$", "")
normalrule { normalrule {
name = name.."_c", name = name.."_c",
ins = { ins = {
@ -65,8 +65,8 @@ normalrule {
name = "next_c", name = "next_c",
ins = { ins = {
"./make.next", "./make.next",
"./*.H", "./*.xh",
"./*.C", "./*.xc",
}, },
outleaves = { "next.c" }, outleaves = { "next.c" },
commands = { commands = {