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
'>2021-06-21Add manuals for macOS 11.3June McEnroe 2021-05-08Update to OpenBSD 6.9June McEnroe 2021-04-26Update to Linux man-pages 5.11June McEnroe 2021-04-26Update to FreeBSD 13.0June McEnroe 2021-01-27Completely rewrite how manuals are fetched and installedJune McEnroe 2020-12-14Update to man-pages-posix 2017-aJune McEnroe 2020-12-14Update to OpenBSD 6.8June McEnroe 2020-12-14Update to NetBSD 9.1June McEnroe 2020-12-14Update to man-pages 5.09June McEnroe 2020-12-14Update to FreeBSD 12.2June McEnroe 2020-06-08Update to OpenBSD 6.7June McEnroe 2020-05-04Add hack for macOS to search extra man sectionsJune McEnroe 2020-05-04Don't clear MANSECTJune McEnroe