From b1a231427b1335af2ef7c23796525f5e17441f14 Mon Sep 17 00:00:00 2001
From: Dan McGee <dan@archlinux.org>
Date: Wed, 9 Jan 2008 18:32:27 -0600
Subject: makepkg: Ensure we include all manpage directories in compression
 line

Signed-off-by: Dan McGee <dan@archlinux.org>
---
 scripts/makepkg.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'scripts')

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 77d5b6a6..45b625d4 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -714,7 +714,7 @@ tidy_install() {
 
 	msg2 "$(gettext "Compressing man pages...")"
 	local manpage mandirs ext file link hardlinks hl
-	mandirs="usr/man usr/local/man usr/share/man opt/*/man"
+	mandirs="usr/man usr/share/man usr/local/man usr/local/share/man opt/*/man"
 	find ${mandirs} -type f 2>/dev/null | while read manpage ; do
 		# check file still exists (potentially compressed with hard link)
 		if [ -f ${manpage} ]; then
-- 
cgit v1.2.3-70-g09d2