#!/bin/sh

option=checkout

if [ $1 != 0 ]; then
	case $1 in
	release | export)
		option=export
		;;
	esac
fi

cvs $option -r pthreads-1_50 pthreads/Whats_New
cvs $option -r pthreads-1_50 pthreads/COPYRIGHT
cvs $option -r pthreads-1_50 pthreads/README
cvs $option -r pthreads-1_50 pthreads/NOTES
cvs $option -r pthreads-1_50 pthreads/FAQ
cvs $option -r pthreads-1_50 pthreads/Makefile
cvs $option -r pthreads-1_50 pthreads/GNUmakefile
cvs $option -r pthreads-1_50 pthreads/configure
cvs $option -r pthreads-1_50 pthreads/doc
cvs $option -r pthreads-1_50 pthreads/gen
cvs $option -r pthreads-1_50 pthreads/include
cvs $option -r pthreads-1_50 pthreads/machdep
cvs $option -r pthreads-1_50 pthreads/pthreads
rm pthreads/pthreads/pthread_kill.c pthreads/pthreads/select.c pthreads/pthreads/sig.c
cvs $option -r pthreads-1_50 pthreads/stdio
cvs $option -r pthreads-1_50 pthreads/stdlib
cvs $option -r pthreads-1_50 pthreads/tests
rm -r pthreads/tests/fstests pthreads/tests/benchmarks
