aboutsummaryrefslogblamecommitdiffstats
path: root/texinfo/Makefile
blob: 0cc5a6018a7fd0b35c60aad68eb1c6c658655a69 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                              
.POSIX:

install:
	if test -x /usr/bin/info; then \
		mkdir -p -- ~/.config/bash/aliases.d && \
		test ! -d ~/.config/bash/aliases.d/texinfo && \
		ln -sf -- ~/.dotfiles/texinfo/bash-aliases ~/.config/bash/aliases.d/texinfo; \
	else \
		make uninstall; \
	fi

uninstall:
	-unlink -- ~/.config/bash/aliases.d/texinfo
	-rmdir -- ~/.config/bash/aliases.d

.PHONY: install uninstall