--- /dev/null
+#! /bin/sh
+# Mk-distr script.
+#
+# This file is a part of Bookmarks Database and Internet robot.
+# Author: Oleg BroytMann <phd@phd.pp.ru>.
+# Copyright: (C) 2004 PhiloSoft Design.
+# License: GPL.
+
+
+# __version__ = \
+# __revision__ = "$Id: mk-distr,v 1.1 2004/09/22 22:58:18 phd Exp $"
+# __date__ = "$Date: 2004/09/22 22:58:18 $"[7:-2]
+# __author__ = "Oleg Broytmann <phd@phd.pp.ru>"
+# __copyright__ = "Copyright (C) 2003 PhiloSoft Design"
+
+
+error() {
+ echo "$@"
+ exit 1
+}
+
+if [ -z "$1" ]; then
+ error "No CVS tag specified, program aborted"
+fi
+
+
+if [ -z "$CVSROOT" ]; then
+ CVSROOT="$HOME/work/CVSROOT"
+ export CVSROOT
+fi
+
+umask 022
+cd "$HOME/work" || exit 1
+cvs export -r "$1" bookmarks_db || exit 1
+cd bookmarks_db && exec make distr