Change dependency from simplerule{} with a dependency but no outputs to an
authorDavid Given <dg@cowlark.com>
Mon, 5 Dec 2016 19:33:26 +0000 (20:33 +0100)
committerDavid Given <dg@cowlark.com>
Mon, 5 Dec 2016 19:33:26 +0000 (20:33 +0100)
installable; otherwise, the dependency would be built, but the result wouldn't
get added to the header path and so wouldn't be seen.

plat/osx386/include/build.lua
plat/osxppc/include/build.lua

index 164e2b4..2f80c12 100644 (file)
@@ -1,7 +1,4 @@
-simplerule {
+installable {
        name = "headers",
-       deps = { "plat/osx/include+headers" },
-       ins = {},
-       outs = {},
-       commands = {},
+       map = { "plat/osx/include+pkg" }
 }
index 164e2b4..2058eb2 100644 (file)
@@ -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