6 # increment the version numbers
8 cd $S/ex && sco $X && echo "go to $VERSION" | sccs delget $X
10 #cd $S && sco $X && vi $X && echo "go to $VERSION" | sccs delget $X
13 vi $X && echo "go to $VERSION" | sccs delget $X
15 # build the distribution
16 cd $S/build && sh ./distrib
17 cd $S/catalog && make clean all check && rm dump __ck1 __ck2 && \
18 chmod 444 english* *.check
21 cd $S && rm -rf build.local && mkdir build.local && \
22 cd build.local && ../build/configure --enable-debug && make
23 what nvi | gzip > ../../TK/history/$VERSION.gz
24 chmod 444 ../../TK/history/$VERSION.gz
27 cd $S/build.local && make cleandocs docs
31 cd $S && mv build.local SCCS/
32 find . -type d \! -perm 775
33 find . \( -name '*.rej' -o -name '*.orig' \)
34 find . -name ARCHIVE -prune -o -name SCCS -prune -o \
35 -type f \( -perm -200 -o -perm -2 -o -perm -20 \)
39 cd $S && mv -i ARCHIVE SCCS/ARCHIVE
40 cd $S/.. && mv -i nvi nvi-$VERSION
41 tar cFFf - nvi-$VERSION | gzip --best > /tmp/nvi-$VERSION.tar.gz
42 chmod 444 /tmp/nvi-$VERSION.tar.gz && mv -i nvi-$VERSION nvi
43 cd $S && mv SCCS/build.local SCCS/ARCHIVE .
44 cd $S/docs && sco changelog