From 694478afb83ce4e38b99df1ea480e65f5e969ee2 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 12 Apr 2006 20:49:12 +0000 Subject: If the info file doesn't exist on the disk, we should still output an entry for it in the final PLIST. This allows us to locate info files in the PLIST that aren't on the system during the CHECK_FILES stage. --- mk/plist/plist-info.awk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mk/plist/plist-info.awk b/mk/plist/plist-info.awk index bf298d62185..6dfa63c0b1c 100644 --- a/mk/plist/plist-info.awk +++ b/mk/plist/plist-info.awk @@ -1,4 +1,4 @@ -# $NetBSD: plist-info.awk,v 1.10 2006/03/20 01:48:58 jlam Exp $ +# $NetBSD: plist-info.awk,v 1.11 2006/04/12 20:49:12 jlam Exp $ # # Copyright (c) 2006 The NetBSD Foundation, Inc. # All rights reserved. @@ -121,6 +121,13 @@ BEGIN { print_entry($0) } close(cmd) + } else { + #if ((MANZ ~ /[yY][eE][sS]/) && ($0 !~ /\.gz$/)) { + # $0 = $0 ".gz" + #} else if ((MANZ !~ /[yY][eE][sS]/) && ($0 ~ /\.gz$/)) { + # sub("\\.gz$", "") + #} + print_entry($0) } next } -- cgit v1.2.3