summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/zsh-navigation-tools/Makefile
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
commita62114c91f2070c8c8453d117f3d81dc113e41ff (patch)
treef266e87af29a08c01f82bc32dd7d463d8ec4441a /zsh/oh-my-zsh/plugins/zsh-navigation-tools/Makefile
parentaf120ab348f2e1a5a39dec035ed9dcf84189a64e (diff)
downloaddotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/plugins/zsh-navigation-tools/Makefile')
-rw-r--r--zsh/oh-my-zsh/plugins/zsh-navigation-tools/Makefile35
1 files changed, 0 insertions, 35 deletions
diff --git a/zsh/oh-my-zsh/plugins/zsh-navigation-tools/Makefile b/zsh/oh-my-zsh/plugins/zsh-navigation-tools/Makefile
deleted file mode 100644
index f34af0c..0000000
--- a/zsh/oh-my-zsh/plugins/zsh-navigation-tools/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-NAME=zsh-navigation-tools
-
-INSTALL?=install -c
-PREFIX?=/usr/local
-SHARE_DIR?=$(DESTDIR)$(PREFIX)/share/$(NAME)
-DOC_DIR?=$(DESTDIR)$(PREFIX)/share/doc/$(NAME)
-
-all:
-
-install:
- $(INSTALL) -d $(SHARE_DIR)
- $(INSTALL) -d $(SHARE_DIR)/.config
- $(INSTALL) -d $(SHARE_DIR)/.config/znt
- $(INSTALL) -d $(DOC_DIR)
- cp zsh-navigation-tools.plugin.zsh _n-kill doc/znt-tmux.zsh $(SHARE_DIR)
- cp README.md NEWS LICENSE doc/img/n-history2.png $(DOC_DIR)
- if [ x"true" = x"`git rev-parse --is-inside-work-tree 2>/dev/null`" ]; then \
- git rev-parse HEAD; \
- else \
- cat .revision-hash; \
- fi > $(SHARE_DIR)/.revision-hash
- :
- for fname in n-*; do cp "$$fname" $(SHARE_DIR); done; \
- for fname in znt-*; do cp "$$fname" $(SHARE_DIR); done; \
- for fname in .config/znt/n-*; do cp "$$fname" $(SHARE_DIR)/.config/znt; done;
-
-uninstall:
- rm -f $(SHARE_DIR)/.revision-hash $(SHARE_DIR)/_* $(SHARE_DIR)/zsh-* $(SHARE_DIR)/n-* $(SHARE_DIR)/znt-* $(SHARE_DIR)/.config/znt/n-*
- [ -d $(SHARE_DIR)/.config/znt ] && rmdir $(SHARE_DIR)/.config/znt || true
- [ -d $(SHARE_DIR)/.config ] && rmdir $(SHARE_DIR)/.config || true
- [ -d $(SHARE_DIR) ] && rmdir $(SHARE_DIR) || true
- rm -f $(DOC_DIR)/README.md $(DOC_DIR)/LICENSE $(DOC_DIR)/n-history2.png
- [ -d $(DOC_DIR) ] && rmdir $(DOC_DIR) || true
-
-.PHONY: all install uninstall