From 1d141a64d6c308994740cbe4a334f18abab07412 Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Mon, 8 Jul 2019 04:10:04 +0200 Subject: [PATCH] Additional fixes for dependencies on directories. --- build/library.zsh | 2 +- build/moon.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/library.zsh b/build/library.zsh index 4271104..6ad88f9 100644 --- a/build/library.zsh +++ b/build/library.zsh @@ -1,6 +1,6 @@ function library.build { - write -n "${target}: ${target}.so ${target}.a $(dirname $target)" + write -n "${target}: ${target}.so ${target}.a $(dirdep $target)" write write "\t@:" diff --git a/build/moon.zsh b/build/moon.zsh index c779682..11beba0 100644 --- a/build/moon.zsh +++ b/build/moon.zsh @@ -15,7 +15,7 @@ function moon.build { fi if [[ -n "${S}" ]]; then - write " ${S} $(dirname $target)" + write " ${S} $(dirdep $target)" write "\t@echo '$(MOON "${target}")'" if [[ -z "${install[$target]}" ]]; then write "\t${Q}echo '#!/usr/bin/env lua' > '${target}'"