fix(build): Makefile dependency

This commit is contained in:
Alex Fabijanic 2023-11-04 23:50:21 +01:00
parent 8adef65e52
commit b4144dea46
2 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ all: libexecs tests samples
INSTALLDIR = $(DESTDIR)$(POCO_PREFIX)
COMPONENTS = Foundation Encodings XML JSON Util Net Crypto NetSSL_OpenSSL Data Data/SQLite Data/ODBC Data/MySQL Data/PostgreSQL ActiveRecord ActiveRecord/Compiler Zip PageCompiler PageCompiler/File2Page JWT CppParser PDF MongoDB Redis Prometheus
cppunit:
cppunit: Foundation-libexec
$(MAKE) -C $(POCO_BASE)/CppUnit
CppUnit-clean:

View File

@ -13,11 +13,11 @@ fi
source="$1"
target="$2"
sourcedir=`dirname "$source"`
targetdir=`dirname "$target"`
sourcedir=$(dirname "$source")
targetdir=$(dirname "$target")
if [ "$sourcedir" = "$targetdir" ] ; then
source=`basename $source`
source=$(basename "$source")
fi