Additional fixes for dependencies on directories.
This commit is contained in:
parent
4d49afcd52
commit
1d141a64d6
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function library.build {
|
function library.build {
|
||||||
write -n "${target}: ${target}.so ${target}.a $(dirname $target)"
|
write -n "${target}: ${target}.so ${target}.a $(dirdep $target)"
|
||||||
write
|
write
|
||||||
write "\t@:"
|
write "\t@:"
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ function moon.build {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "${S}" ]]; then
|
if [[ -n "${S}" ]]; then
|
||||||
write " ${S} $(dirname $target)"
|
write " ${S} $(dirdep $target)"
|
||||||
write "\t@echo '$(MOON "${target}")'"
|
write "\t@echo '$(MOON "${target}")'"
|
||||||
if [[ -z "${install[$target]}" ]]; then
|
if [[ -z "${install[$target]}" ]]; then
|
||||||
write "\t${Q}echo '#!/usr/bin/env lua' > '${target}'"
|
write "\t${Q}echo '#!/usr/bin/env lua' > '${target}'"
|
||||||
|
Loading…
Reference in New Issue
Block a user