From: David Given Date: Mon, 5 Dec 2016 19:33:26 +0000 (+0100) Subject: Change dependency from simplerule{} with a dependency but no outputs to an X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c5aff6fc2e6f452d5b313b95c77836cebeeff83c;p=ack.git Change dependency from simplerule{} with a dependency but no outputs to an installable; otherwise, the dependency would be built, but the result wouldn't get added to the header path and so wouldn't be seen. --- diff --git a/plat/osx386/include/build.lua b/plat/osx386/include/build.lua index 164e2b44a..2f80c1257 100644 --- a/plat/osx386/include/build.lua +++ b/plat/osx386/include/build.lua @@ -1,7 +1,4 @@ -simplerule { +installable { name = "headers", - deps = { "plat/osx/include+headers" }, - ins = {}, - outs = {}, - commands = {}, + map = { "plat/osx/include+pkg" } } diff --git a/plat/osxppc/include/build.lua b/plat/osxppc/include/build.lua index 164e2b44a..2058eb2cc 100644 --- a/plat/osxppc/include/build.lua +++ b/plat/osxppc/include/build.lua @@ -1,7 +1,4 @@ -simplerule { +installable { name = "headers", - deps = { "plat/osx/include+headers" }, - ins = {}, - outs = {}, - commands = {}, -} + map = { "plat/osx/include+pkg" } +} \ No newline at end of file