chiark / gitweb /
Bugfix.
authorian <ian>
Sun, 24 Aug 1997 23:23:38 +0000 (23:23 +0000)
committerian <ian>
Sun, 24 Aug 1997 23:23:38 +0000 (23:23 +0000)
Makefile.in
buildship

index 5197374..315583b 100644 (file)
@@ -104,8 +104,9 @@ shipprep:   $(SHIPTARGETS)
 ship:          $(SHIPTARGETS)
                rm -rf shipcheck
                mkdir -p shipcheck/userv-$(VERSION)
-               cp -av $^ shipcheck/userv-$(VERSION)
-               GZIP=-9v tar zvvcCf shipcheck userv-$(VERSION).tar.gz userv-$(VERSION)
+               cp -a $^ shipcheck/userv-$(VERSION)
+               cd shipcheck && \
+                GZIP=-9v tar zvvcf userv-$(VERSION).tar.gz userv-$(VERSION)
                rm -rf shipcheck/userv-$(VERSION)
 
 linecount:     $(SOURCES)
index bd7876d..f01b03e 100755 (executable)
--- a/buildship
+++ b/buildship
@@ -11,10 +11,10 @@ version=$1
 targz=userv-$version.tar.gz
 tag=`echo release-$version | sed -e 's/\./-/g'`
 
-echo >&2 "Tagging (version $version, tag $tag) ..."
+echo >&2 "*** Tagging (version $version, tag $tag) ..."
 cvs tag -F -c $tag
 
-echo >&2 'Generating pre-built files ...'
+echo >&2 '*** Generating pre-built files ...'
 autoconf
 autoheader
 ./configure
@@ -22,11 +22,12 @@ make ship VERSION=$version
 
 cd shipcheck
 
-echo >&2 'Checking whether identical to repository version ...'
+echo >&2 '*** Checking whether identical to repository version ...'
 tar zxf $targz
 cvs co -r $tag userv
-cp userv-$version/* userv/.
-cd userv
+cd userv-$version
+cp -r . ../userv/.
+cd ../userv
 if test "x`cvs -n update`" != x
 then
        echo >&2 mismatch:
@@ -36,12 +37,12 @@ fi
 cd ..
 rm -rf userv
 
-echo >&2 'Doing test build ...'
+echo >&2 '*** Doing test build ...'
 cd userv-$version
 ./configure
 make
 
 cd ../..
 
-echo >&2 "OK.  Distribution file is ../$targz."
+echo >&2 "*** OK.  Distribution file is ../$targz."
 mv -f shipcheck/$targz ..