.POSIX: include ../common.mk install: if test -d ~/.texlive; then \ test ! -d ~/.var/cache/texlive && \ mkdir -p -- ~/.var/cache && \ mv ~/.texlive ~/.var/cache/texlive; \ else \ mkdir -p -- ~/.var/cache/texlive; \ fi ln -sf -- .var/cache/texlive ~/.texlive uninstall: -rm -rf -- ~/.var/cache/texlive -rm -rf -- ~/.texlive .PHONY: install uninstall