Makefile : suppression configuration tmux

This commit is contained in:
Ahurac 2024-01-21 01:53:55 +01:00
parent 5274a5056e
commit ca9b7edafd

View file

@ -13,12 +13,10 @@ SRCD := src
SRC_QEMU_HOME := qemu
SRC_QEMU_BIN := $(SRC_QEMU_HOME)/bin
SRC_LAUNCHERSD := $(SRC_QEMU_HOME)/launchers
SRC_TMUX_CONF := $(SRC_QEMU_HOME)/tmux.conf
# Actual qemu Unix user home
QEMU_HOME := $(shell echo ~$(QEMU_USER))
QEMU_BIN := $(QEMU_HOME)/bin
LAUNCHERSD := $(QEMU_HOME)/launchers
TMUX_CONF := $(QEMU_HOME)/.tmux.conf
# Names of all qemush modules
SRC_MODULES_NAMES := $(notdir $(wildcard $(SRC_QEMU_BIN)/*))
@ -45,7 +43,7 @@ C_BINARIES := $(addprefix $(QEMU_BIN)/,$(SRC_C_SOURCES_NAMES))
QEMUSH_DIRS_NAMES := bin launchers disks
QEMUSH_DIRS := $(addprefix $(QEMU_HOME)/,$(QEMUSH_DIRS_NAMES))
install: $(QEMUSH_DIRS) $(MODULES) $(C_BINARIES) $(QEMUSH) $(LAUNCHERS) $(TMUX_CONF)
install: $(QEMUSH_DIRS) $(MODULES) $(C_BINARIES) $(QEMUSH) $(LAUNCHERS)
$(QEMUSH_DIRS):
$(SUDO_QEMU) mkdir -p $@
@ -63,6 +61,3 @@ $(C_BINARIES): $(QEMU_BIN)%: $(SRCD)%$(SRC_FMT)
$(LAUNCHERS): $(LAUNCHERSD)%: $(SRC_LAUNCHERSD)%
$(SUDO_QEMU) install -m $(BINS_MODE) $^ $@
$(TMUX_CONF): $(SRC_TMUX_CONF)
$(SUDO_QEMU) install -m 640 $^ $@