1# -*- coding: utf-8; mode: makefile-gmake -*-
6# To activate/deactivate LXC makefile environment in a container, set/unset link
7# from root '/.lxcenv.mk' to *this* file::
9# sudo make ./utils/makefile.lxc lxc-activate
10# sudo make ./utils/makefile.lxc lxc-deactivate
12LXC_ENV_FOLDER=lxc-env/$(shell hostname)/
15 @echo ' LXC: running in container LXC_ENV_FOLDER=$(LXC_ENV_FOLDER)'
17# If not activated, serve target 'lxc-activate' ..
18ifeq (,$(wildcard /.lxcenv.mk))
21 ln -s "$(abspath $(lastword $(MAKEFILE_LIST)))" "/.lxcenv.mk"
23# .. and if activated, serve target 'lxc-deactivate'.
24PHONY += lxc-deactivate
28 $(Q)mkdir -p $(LXC_ENV_FOLDER)
29 $(Q)echo placeholder > $(LXC_ENV_FOLDER).placeholder
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list