about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-03 16:53:21 -0400
committerJune McEnroe <june@causal.agency>2020-05-03 16:53:21 -0400
commit293f67143f3711d655a3582669e4d6a8cc164f20 (patch)
treee8ffb02bcfe1ff626c39e9e8c69efe1a0e669527
parentFetch man.tar.xz and comp.tar.xz for NetBSD (diff)
downloadexman-293f67143f3711d655a3582669e4d6a8cc164f20.tar.gz
exman-293f67143f3711d655a3582669e4d6a8cc164f20.zip
Mark tarballs .PRECIOUS
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2add9f1..492064c 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,8 @@ all: exman ${SYSTEMS}
 
 .SUFFIXES: .tar .url
 
+.PRECIOUS: ${SYSTEMS:=.tar}
+
 .url.tar:
 	${CURL} -f -o $@ "$$(cat $<)"
 
@@ -22,11 +24,15 @@ all: exman ${SYSTEMS}
 	mkdir -p $@
 	${TAR} -x -f $< -C $@ --strip-components ${STRIP.$@} ${FILES.$@}
 
+.PRECIOUS: netbsd-man.tar netbsd-comp.tar
+
 netbsd: netbsd-man.tar netbsd-comp.tar
 	mkdir -p $@
 	${TAR} -x -f netbsd-man.tar -C $@ --strip-components ${STRIP.$@} ${FILES.$@}
 	${TAR} -x -f netbsd-comp.tar -C $@ --strip-components ${STRIP.$@} ${FILES.$@}
 
+.PRECIOUS: openbsd-man.tar openbsd-comp.tar
+
 openbsd: openbsd-man.tar openbsd-comp.tar
 	mkdir -p $@
 	${TAR} -x -f openbsd-man.tar -C $@ --strip-components ${STRIP.$@} ${FILES.$@}