about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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