blob: bd4f7e9c75d8e3ac74d44e75d62442e28b75225e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
.POSIX:
include ../common.mk
install:
if test -L ~/.texlive; then \
test "$$(readlink -- ~/.texlive)" = .var/cache/texlive; \
else \
set -e; \
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; \
fi
uninstall:
-rm -rf -- ~/.var/cache/texlive
-rm -rf -- ~/.texlive
.PHONY: install uninstall
|