about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitignore6
-rw-r--r--Makefile32
-rw-r--r--freebsd.url1
-rw-r--r--linux.url1
-rw-r--r--netbsd.url1
-rw-r--r--openbsd.url1
-rw-r--r--posix.url1
7 files changed, 43 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..066e06a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+*.tar
+freebsd/
+linux/
+netbsd/
+openbsd/
+posix/
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e52672a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,32 @@
+CURL ?= curl
+TAR ?= tar
+
+SYSTEMS += freebsd
+SYSTEMS += linux
+SYSTEMS += netbsd
+SYSTEMS += openbsd
+SYSTEMS += posix
+
+all: ${SYSTEMS}
+
+.SUFFIXES: .tar .url
+
+.url.tar:
+	${CURL} -f -o $@ "$$(cat $<)"
+
+.tar:
+	mkdir -p $@
+	${TAR} -x -f $< -C $@ --strip-components ${STRIP.$@} ${FILES.$@}
+
+FILES.freebsd = ./usr/share/man/
+FILES.netbsd = ./usr/share/man/
+FILES.openbsd = ./usr/share/man/
+
+STRIP.freebsd = 4
+STRIP.linux = 1
+STRIP.netbsd = 4
+STRIP.openbsd = 4
+STRIP.posix = 1
+
+clean:
+	rm -fr ${SYSTEMS} ${SYSTEMS:=.tar}
diff --git a/freebsd.url b/freebsd.url
new file mode 100644
index 0000000..e9f4183
--- /dev/null
+++ b/freebsd.url
@@ -0,0 +1 @@
+https://download.FreeBSD.org/ftp/releases/amd64/12.1-RELEASE/base.txz
diff --git a/linux.url b/linux.url
new file mode 100644
index 0000000..ef0aef5
--- /dev/null
+++ b/linux.url
@@ -0,0 +1 @@
+https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/man-pages-5.06.tar.xz
diff --git a/netbsd.url b/netbsd.url
new file mode 100644
index 0000000..66cfa3b
--- /dev/null
+++ b/netbsd.url
@@ -0,0 +1 @@
+https://cdn.NetBSD.org/pub/NetBSD/NetBSD-9.0/shared/ALL/man.tgz
diff --git a/openbsd.url b/openbsd.url
new file mode 100644
index 0000000..0be553e
--- /dev/null
+++ b/openbsd.url
@@ -0,0 +1 @@
+https://cdn.openbsd.org/pub/OpenBSD/6.6/amd64/man66.tgz
diff --git a/posix.url b/posix.url
new file mode 100644
index 0000000..80c4f8b
--- /dev/null
+++ b/posix.url
@@ -0,0 +1 @@
+https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2013-a.tar.xz
er.c?id=ca448f3dc88b8737e641cb9019664695eab80e51&follow=1'>Handle large movesJune McEnroe 2017-07-30Optimize builds for chrootJune McEnroe 2017-07-30Persist bright across color changesJune McEnroe 2017-07-30Add index.htmlJune McEnroe 2017-07-30Add snapshot.shJune McEnroe 2017-07-30Fix termcap patch for background colorsJune McEnroe 2017-07-30Update helpJune McEnroe 2017-07-30Fix help to track colorJune McEnroe 2017-07-30Support background colorsJune McEnroe 2017-07-30Track color only client-sideJune McEnroe 2017-07-30Add ostensible support for background colorsJune McEnroe 2017-07-30Add tile create and access timestampsJune McEnroe 2017-07-30Assert stable struct Tile field offsetsJune McEnroe 2017-07-30Add chroot.shJune McEnroe 2017-07-30Add ` commandJune McEnroe 2017-07-30Add sshd_configJune McEnroe 2017-07-30Add termcap patchJune McEnroe