about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 492064c..80c41b6 100644
--- a/Makefile
+++ b/Makefile
@@ -24,28 +24,30 @@ all: exman ${SYSTEMS}
 	mkdir -p $@
 	${TAR} -x -f $< -C $@ --strip-components ${STRIP.$@} ${FILES.$@}
 
-.PRECIOUS: netbsd-man.tar netbsd-comp.tar
-
 netbsd: netbsd-man.tar netbsd-comp.tar
 	mkdir -p $@
 	${TAR} -x -f netbsd-man.tar -C $@ --strip-components ${STRIP.$@} ${FILES.$@}
 	${TAR} -x -f netbsd-comp.tar -C $@ --strip-components ${STRIP.$@} ${FILES.$@}
 
-.PRECIOUS: openbsd-man.tar openbsd-comp.tar
+.PRECIOUS: netbsd-man.tar netbsd-comp.tar
 
 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/
+.PRECIOUS: openbsd-man.tar openbsd-comp.tar
+
+FILES.freebsd = './usr/share/man/man[1-9]/'
+FILES.netbsd = './usr/share/man/man[1-9]*/'
+FILES.openbsd = './usr/share/man/man[1-9]*/'
+FILES.linux = '*/man[1-9]/'
+FILES.posix = '*/man[0-3]p/'
 
 STRIP.freebsd = 4
-STRIP.linux = 1
 STRIP.netbsd = 4
 STRIP.openbsd = 4
+STRIP.linux = 1
 STRIP.posix = 1
 
 clean: