diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-12-26 11:43:18 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-12-26 11:43:18 +0100 |
commit | d175a0fb7bdcc00632a9092f5de1037f0dd1d811 (patch) | |
tree | 2a6e4cd8896c75109db7d6b41e29169979684f69 /utils/makefile.lxc | |
parent | bc7bd1d80a9113d5606bbfd18e96216373578647 (diff) | |
download | searxng-d175a0fb7bdcc00632a9092f5de1037f0dd1d811.tar.gz searxng-d175a0fb7bdcc00632a9092f5de1037f0dd1d811.zip |
[mod] LXC_ENV_FOLDER moved from ./lxc to ./lxc-env
BTW:
- add target $(LXC_ENV_FOLDER)
- fix indentations
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/makefile.lxc')
-rw-r--r-- | utils/makefile.lxc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/utils/makefile.lxc b/utils/makefile.lxc index fd999e40d..95a8d4317 100644 --- a/utils/makefile.lxc +++ b/utils/makefile.lxc @@ -9,10 +9,10 @@ # sudo make ./utils/makefile.lxc lxc-activate # sudo make ./utils/makefile.lxc lxc-deactivate -LXC_ENV_FOLDER=lxc/$(shell hostname)/ +LXC_ENV_FOLDER=lxc-env/$(shell hostname)/ lxc-help:: - @echo 'LXC: running in container LXC_ENV_FOLDER=$(LXC_ENV_FOLDER)' + @echo ' LXC: running in container LXC_ENV_FOLDER=$(LXC_ENV_FOLDER)' # If not activated, serve target 'lxc-activate' .. ifeq (,$(wildcard /.lxcenv.mk)) @@ -24,6 +24,9 @@ else PHONY += lxc-deactivate lxc-deactivate: rm /.lxcenv.mk +$(LXC_ENV_FOLDER): + $(Q)mkdir -p $(LXC_ENV_FOLDER) + $(Q)echo placeholder > $(LXC_ENV_FOLDER).placeholder endif .PHONY: $(PHONY) |