.PHONY: distr
distr:
- ./mk-distr HEAD
-
-.PHONY: distr-%
-distr-%:
- ./mk-distr "`echo $@ | sed s/^distr-//`"
+ ./mk-distr file:///home/phd/work/SVN/bookmarks_db/trunk
fulldistr: clean examples_distr
cd .. && tar cf - bookmarks_db | gzip -9 > bookmarks_db-$(VERSION)-`date +'%Y%m%d'`.tar.gz
# __version__ = \
-# __revision__ = "$Id: mk-distr,v 1.3 2004/09/22 23:02:39 phd Exp $"
-# __date__ = "$Date: 2004/09/22 23:02:39 $"[7:-2]
+# __revision__ = "$Id$"
+# __date__ = "$Date$"[7:-2]
# __author__ = "Oleg Broytmann <phd@phd.pp.ru>"
# __copyright__ = "Copyright (C) 2004 PhiloSoft Design"
}
if [ -z "$1" ]; then
- error "No CVS tag specified, program aborted"
+ error "No Subversion URI 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
+svn export "$1" bookmarks_db || exit 1
cd bookmarks_db && exec make fulldistr