forked from lrvick/dotfiles
make add commands for apt pckgs and git submodules
This commit is contained in:
parent
ddb574bf83
commit
cd14e8b5a8
36
Makefile
36
Makefile
|
@ -1,10 +1,14 @@
|
||||||
QUBES_DIRS = qubes dom0
|
QUBES_DIRS = qubes dom0
|
||||||
ALL_DIRS = $(shell ls -d */ | sed 's#/##')
|
ALL_DIRS = $(shell ls -d *\ | sed 's#\##')
|
||||||
GENERAL_DIRS = $(filter-out $(QUBES_DIRS), $(ALL_DIRS))
|
GENERAL_DIRS = $(filter-out $(QUBES_DIRS), $(ALL_DIRS))
|
||||||
|
|
||||||
.PHONY: all apply apply-general apply-qubes clean
|
.PHONY: all update-git-submodule apply-general apply-qubes install-apt-essentials clean
|
||||||
|
|
||||||
all: apply-general apply-qubes
|
all: update-git-submodule apply-general apply-qubes
|
||||||
|
|
||||||
|
update-git-submodule:
|
||||||
|
@echo "Installing git submodules..."
|
||||||
|
git submodule update --init --recursive
|
||||||
|
|
||||||
apply-general:
|
apply-general:
|
||||||
@echo "Applying general configurations..."
|
@echo "Applying general configurations..."
|
||||||
|
@ -12,9 +16,31 @@ apply-general:
|
||||||
|
|
||||||
apply-qubes:
|
apply-qubes:
|
||||||
@echo "Applying Qubes configurations..."
|
@echo "Applying Qubes configurations..."
|
||||||
stow --target=/ qubes
|
sudo stow --target=\ qubes
|
||||||
|
|
||||||
|
install-apt-essentials:
|
||||||
|
sudo apt install \
|
||||||
|
tig \
|
||||||
|
htop \
|
||||||
|
tree \
|
||||||
|
ripgrep \
|
||||||
|
net-tools \
|
||||||
|
stow \
|
||||||
|
zsh \
|
||||||
|
rsync \
|
||||||
|
shellcheck \
|
||||||
|
pass \
|
||||||
|
make \
|
||||||
|
cmake \
|
||||||
|
ninja-build \
|
||||||
|
gettext \
|
||||||
|
curl \
|
||||||
|
build-essential \
|
||||||
|
jq \
|
||||||
|
-y
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@echo "Removing stowed configurations..."
|
@echo "Removing stowed configurations..."
|
||||||
stow -D --target=$(HOME) $(GENERAL_DIRS)
|
stow -D --target=$(HOME) $(GENERAL_DIRS)
|
||||||
stow -D --target=/ qubes
|
stow -D --target=\ qubes
|
||||||
|
|
Loading…
Reference in New Issue