about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-03 18:59:57 +0000
committerJune McEnroe <june@causal.agency>2020-05-03 18:59:57 +0000
commit44a2de187054f20fca64be4981367cff58a89038 (patch)
tree054af1ccaff781408cbb38133ac7a00e3da00686 /Makefile
parentAdd FreeBSD, NetBSD, OpenBSD, Linux, POSIX (diff)
downloadexman-44a2de187054f20fca64be4981367cff58a89038.tar.gz
exman-44a2de187054f20fca64be4981367cff58a89038.zip
Fetch manNN.tgz and compNN.tgz for OpenBSD
Diffstat (limited to '')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e52672a..226657a 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,11 @@ all: ${SYSTEMS}
 	mkdir -p $@
 	${TAR} -x -f $< -C $@ --strip-components ${STRIP.$@} ${FILES.$@}
 
+openbsd: openbsd-man.tar openbsd-comp.tar
+	mkdir -p $@
+	${TAR} -x -f openbsd-man.tar -C $@ --strip-components ${STRIP.$@} ${FILES.$@}
+	${TAR} -x -f openbsd-comp.tar -C $@ --strip-components ${STRIP.$@} ${FILES.$@}
+
 FILES.freebsd = ./usr/share/man/
 FILES.netbsd = ./usr/share/man/
 FILES.openbsd = ./usr/share/man/
@@ -29,4 +34,4 @@ STRIP.openbsd = 4
 STRIP.posix = 1
 
 clean:
-	rm -fr ${SYSTEMS} ${SYSTEMS:=.tar}
+	rm -fr ${SYSTEMS} *.tar