aboutsummaryrefslogblamecommitdiffstats
path: root/grep/Makefile
blob: 05b27e762b16afdb5d9b68ef1e341ce9e52defcc (plain) (tree)
1
2
3
4
5
6
7
8
9



                                            
                                                                                        


                                                                             
                                  

                                                
.POSIX:

install:
	mkdir -p -- ~/.config/bash/aliases.d
	test ! -e ~/.config/bash/aliases.d/grep || test -L ~/.config/bash/aliases.d/grep
	ln -sf -- ~/.dotfiles/grep/bash-aliases ~/.config/bash/aliases.d/grep

uninstall:
	+! ../check-installed grep
	-unlink -- ~/.config/bash/aliases.d/grep
	-rmdir -- ~/.config/bash/aliases.d