about summary refs log tree commit diff
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
parentAdd FreeBSD, NetBSD, OpenBSD, Linux, POSIX (diff)
downloadexman-44a2de187054f20fca64be4981367cff58a89038.tar.gz
exman-44a2de187054f20fca64be4981367cff58a89038.zip
Fetch manNN.tgz and compNN.tgz for OpenBSD
-rw-r--r--Makefile7
-rw-r--r--openbsd-comp.url1
-rw-r--r--openbsd-man.url (renamed from openbsd.url)0
3 files changed, 7 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
diff --git a/openbsd-comp.url b/openbsd-comp.url
new file mode 100644
index 0000000..a2dcf7d
--- /dev/null
+++ b/openbsd-comp.url
@@ -0,0 +1 @@
+https://cdn.openbsd.org/pub/OpenBSD/6.6/amd64/comp66.tgz
diff --git a/openbsd.url b/openbsd-man.url
index 0be553e..0be553e 100644
--- a/openbsd.url
+++ b/openbsd-man.url