aboutsummaryrefslogblamecommitdiffstats
path: root/my-scripts/Makefile
blob: 3ed0a443ade274e3a3666e926671e4334ad79136 (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/my-scripts || \
		test -L ~/.config/bash/aliases.d/my-scripts
	ln -sf -- ~/.dotfiles/my-scripts/bash-aliases ~/.config/bash/aliases.d/my-scripts

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