@@ -193,6 +193,9 @@ override NEEDOPT=-Sg
# Directories
+ifndef TARGETDIR
+TARGETDIR=.
+endif
# Packages
@@ -11,6 +11,7 @@ datadir=$(BASEINSTALLDIR)/ide
[dirs]
fpcdir=../..
+targetdir=.
[require]
options=-Sg