diff options
author | jakobst1n <jakob@jakobstendahl.no> | 2024-10-20 12:04:46 +0200 |
---|---|---|
committer | jakobst1n <jakob@jakobstendahl.no> | 2024-10-20 12:04:46 +0200 |
commit | e5f1f0473b7873094d52970cb10e1cb661e4cd5a (patch) | |
tree | b4cf5b81b159447e1992cfea2e190573c8f7f340 /Makefile.m4 | |
parent | fbac12e907db6be58f4372f42e31f0214186be06 (diff) | |
download | dotfiles-e5f1f0473b7873094d52970cb10e1cb661e4cd5a.tar.gz dotfiles-e5f1f0473b7873094d52970cb10e1cb661e4cd5a.zip |
Fix a few bugs
Diffstat (limited to 'Makefile.m4')
-rw-r--r-- | Makefile.m4 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile.m4 b/Makefile.m4 index e3aa34b..3cec7aa 100644 --- a/Makefile.m4 +++ b/Makefile.m4 @@ -176,10 +176,10 @@ $(HOME_DIR)/.config/qtile/config.py: linux/qtile/config/config.py m4_ifelse(DT_NEOVIM, `yes', `m4_dnl /usr/local/bin/nvim: git clone https://github.com/neovim/neovim /tmp/neovim - git -C /tmp/neovim checkout tags/v0.9.0 + git -C /tmp/neovim checkout tags/v0.10.0 (cd /tmp/neovim && sudo make install) -$(HOME_DIR)/.config/nvim/: /usr/local/bin/nvim +$(HOME_DIR)/.config/nvim: /usr/local/bin/nvim $(call create_symlink,$(SRC_DIR)/Common/nvim,$(HOME_DIR)/.config/nvim) ')m4_dnl @@ -218,6 +218,8 @@ m4_ifelse(DT_GREETD_TUIGREET, `yes', `greetd',) m4_dnl m4_ifelse(DT_TLP, `yes', `tlp',) m4_dnl m4_dnl m4_ifelse(DT_SWAY, `yes', `sway swayidle physlock blueman network-manager-gnome wob wlogout wofi brightnessctl clipman xwayland seahorse fcitx5',) m4_dnl +m4_ifelse(DT_NEOVIM, `yes', `cmake gettext',) m4_dnl +m4_ifelse(DT_ALACRITTY, `yes', `libfontconfig1-dev pkg-config',) m4_dnl @@ -301,8 +303,12 @@ m4_ifelse(DT_ALACRITTY, `yes', `alacritty',) install_cargo_packages: DT_HOME_DIRECTORY/.cargo/bin/cargo @missing_packages=""; \ for pkg in $(CARGO_DEPENDENCIES); do \ - if [ "$($$CARGO install --list | grep -sw "$$pkg" | wc -l)" = "0" ]; then \ + echo "$(cargo install --list | grep -sw "$$pkg" | wc -l)"; \ + echo "$(cargo install --list)"; \ + if [ "$(cargo install --list | grep -sw "$$pkg" | wc -l)" = "0" ]; then \ missing_packages="$$missing_packages $$pkg"; \ + else \ + echo "not missing $$pkg"; \ fi; \ done; \ if [ -n "$$missing_packages" ]; then \ |