From 382728fda878048b7da1fa6c4c338bd216475a12 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 3 May 2020 21:53:48 +0000 Subject: Restrict extracted paths more tightly 199M -> 136M --- Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'Makefile') 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: -- cgit 1.4.1 ge
path: root/netbsd-man.url (unfollow)
Commit message (Expand)Author
2021-08-26Support DESTDIR in install/uninstallJune McEnroe
2021-08-26Add version number generatorJune McEnroe
2021-08-22Add ISC license headerJune McEnroe
2021-08-22Update to Linux man-pages 5.12Štěpán Němec
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