diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2025-07-16 15:47:36 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-07-28 12:53:26 +0200 |
| commit | ae0fcf3a4208401f5dc0296c29227a55f63163da (patch) | |
| tree | 3f3612b982c1180064e944e1a83060f0161af57e /utils/makefile.lxc | |
| parent | 54a2b553f46df6dc98a4b8410788e35165e0fa3e (diff) | |
[chore] overdue maintenance of shell scripts
Removes obsolete scripts and fix various leftovers.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/makefile.lxc')
| -rw-r--r-- | utils/makefile.lxc | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/utils/makefile.lxc b/utils/makefile.lxc deleted file mode 100644 index 95a8d4317..000000000 --- a/utils/makefile.lxc +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8; mode: makefile-gmake -*- -# -# LXC environment -# =============== -# -# To activate/deactivate LXC makefile environment in a container, set/unset link -# from root '/.lxcenv.mk' to *this* file:: -# -# sudo make ./utils/makefile.lxc lxc-activate -# sudo make ./utils/makefile.lxc lxc-deactivate - -LXC_ENV_FOLDER=lxc-env/$(shell hostname)/ - -lxc-help:: - @echo ' LXC: running in container LXC_ENV_FOLDER=$(LXC_ENV_FOLDER)' - -# If not activated, serve target 'lxc-activate' .. -ifeq (,$(wildcard /.lxcenv.mk)) -PHONY += lxc-activate -lxc-activate: - ln -s "$(abspath $(lastword $(MAKEFILE_LIST)))" "/.lxcenv.mk" -else -# .. and if activated, serve target 'lxc-deactivate'. -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) |