summaryrefslogtreecommitdiff
path: root/utils/makefile.include
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-12-20 09:32:00 +0100
committerGitHub <noreply@github.com>2020-12-20 09:32:00 +0100
commit72d2bb228959348515194ede87c6a1f022241969 (patch)
tree64ab5928698cb1f828834fe56e36c9f7e70ae91f /utils/makefile.include
parent32e4eab3369ed1f9534ccabaa36c760b03f0a5b6 (diff)
parentc89df6739f4ce7f5afd2baaaf727abdedc22c33b (diff)
Merge pull request #2399 from return42/fix-lxc
[fix] determine path to makefile.lxc in a LXC
Diffstat (limited to 'utils/makefile.include')
-rw-r--r--utils/makefile.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/makefile.include b/utils/makefile.include
index 65aca70f0..35a5134d9 100644
--- a/utils/makefile.include
+++ b/utils/makefile.include
@@ -3,7 +3,7 @@
ifeq (,$(wildcard /.lxcenv.mk))
PHONY += lxc-activate lxc-purge
lxc-activate:
- @$(MAKE) -s -f /share/searx/utils/makefile.lxc lxc-activate
+ @$(MAKE) -s -f "$$(dirname $(abspath $(lastword $(MAKEFILE_LIST))))/makefile.lxc" lxc-activate
lxc-purge:
$(Q)rm -rf ./lxc
else