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


        
                                        
                                                         

                                                                      

                                                                                              
                                    


          



                                                  
.POSIX:

install:
	if ../check-in-path info; then \
		mkdir -p -- ~/.config/bash/aliases.d && \
		(test ! -e ~/.config/bash/aliases.d/texinfo || \
			test -L ~/.config/bash/aliases.d/texinfo) && \
		ln -sf -- ~/.dotfiles/texinfo/bash-aliases ~/.config/bash/aliases.d/texinfo; \
	else \
		$(MAKE) uninstall; \
	fi

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