From 8aaa777293447b1bc3f6bb21789ae3cc485ee48d Mon Sep 17 00:00:00 2001
From: Chris Hanson <org/chris-hanson/cph>
Date: Wed, 26 Jul 2000 16:46:56 +0000
Subject: [PATCH] Use "cpx -h" to do copying; some files are now symlinks that
 should be dereferenced.

---
 v7/dist/make-doc-files | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/v7/dist/make-doc-files b/v7/dist/make-doc-files
index beabc863f..785ac7804 100755
--- a/v7/dist/make-doc-files
+++ b/v7/dist/make-doc-files
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+COPY="cpx -h"
+
 prefix=`/scheme/v7/dist/release-prefix`
 tldir=${prefix}/doc
 rm -rf ${prefix}
@@ -15,21 +17,21 @@ do
   do
     case ${type} in
     info)
-      cpx /scheme/documentation/${man}/*.info* ${tldir}
+      ${COPY} /scheme/documentation/${man}/*.info* ${tldir}
       ;;
     html)
-      cpx /scheme/documentation/${man}/html/*.html ${tldir}
+      ${COPY} /scheme/documentation/${man}/html/*.html ${tldir}
       ;;
     *)
-      cpx /scheme/documentation/${man}/*.${type} ${tldir}
+      ${COPY} /scheme/documentation/${man}/*.${type} ${tldir}
       ;;
     esac
   done
 done
 
-cpx /scheme/documentation/ref-manual/COPYING ${tldir}
-cpx /scheme/v7/linux/lib/edwin/info/dir ${tldir}
-cpx /scheme/v7/dist/index.html ${tldir}
+${COPY} /scheme/documentation/ref-manual/COPYING ${tldir}
+${COPY} /scheme/v7/linux/lib/edwin/info/dir ${tldir}
+${COPY} /scheme/v7/dist/index.html ${tldir}
 
 chmod 444 ${tldir}/*
 
-- 
2.25.1