--- generic-build-script-orig	2004-05-19 13:08:39.923334400 -0400
+++ generic-build-script	2004-05-19 13:18:17.343624000 -0400
@@ -180,12 +180,12 @@
     fi ;\
   done &&\
   if [ -d ${instdir}${prefix}/share/info ] ; then \
-    find ${instdir}${prefix}/share/info -name "*.info" | xargs gzip -q ; \
+    find ${instdir}${prefix}/share/info -type f ! -name "*.gz" \
+      | xargs -r gzip -q ; \
   fi && \
   if [ -d ${instdir}${prefix}/share/man ] ; then \
-    find ${instdir}${prefix}/share/man -name "*.1" -o -name "*.3" -o \
-      -name "*.3x" -o -name "*.3pm" -o -name "*.5" -o -name "*.6" -o \
-      -name "*.7" -o -name "*.8" | xargs gzip -q ; \
+    find ${instdir}${prefix}/share/man -type f ! -name "*.gz" \
+      | xargs -r gzip -q ; \
   fi && \
   templist="" && \
   for f in ${install_docs} ; do \
