aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/makefile b/makefile
index dbda1b2..c2513ec 100644
--- a/makefile
+++ b/makefile
@@ -3,7 +3,7 @@ PREFIX?=/usr/local/texlive/${TL_YEAR}/bin/custom
3BINREPO=https://www.ekdosis.org/texlive 3BINREPO=https://www.ekdosis.org/texlive
4TMPDIR!=mktemp -d 4TMPDIR!=mktemp -d
5OPENBSD_VERSION!=uname -r | sed 's/\.//' 5OPENBSD_VERSION!=uname -r | sed 's/\.//'
6TLBINPATH!!=which latex | sed 's/\/latex//' 6TLBINPATH!!=which latex 2>/dev/null | sed 's/\/latex//'
7TMPSOURCE?="" 7TMPSOURCE?=""
8UPDATING!=curl -s ${BINREPO}/status.txt | grep updating= | sed 's/.*=//' 8UPDATING!=curl -s ${BINREPO}/status.txt | grep updating= | sed 's/.*=//'
9 9
@@ -32,6 +32,10 @@ fetch:
32.endif 32.endif
33 33
34update: 34update:
35.if "${TLBINPATH}" == ""
36 @echo "There is nothing to update. Aborting."
37 exit 1
38.endif
35.if "${UPDATING}" == "yes" 39.if "${UPDATING}" == "yes"
36 @echo "The binaries are being updated. Please re-run this command later." 40 @echo "The binaries are being updated. Please re-run this command later."
37.else 41.else