about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-03 18:40:46 +0000
committerJune McEnroe <june@causal.agency>2020-05-03 18:42:16 +0000
commit12af3b51ee11579680794a236d2abaeb7f63e2b0 (patch)
tree40b00137b9a520d24607c97b0fff1d1c64e57e49 /Makefile
downloadexman-12af3b51ee11579680794a236d2abaeb7f63e2b0.tar.gz
exman-12af3b51ee11579680794a236d2abaeb7f63e2b0.zip
Add FreeBSD, NetBSD, OpenBSD, Linux, POSIX
Diffstat (limited to '')
-rw-r--r--Makefile32
1 files changed, 32 insertions, 0 deletions
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}
44f182c85cc40fee89&follow=1'>Add 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