# This file is a part of Bookmarks database and Internet robot.
#
# __author__ = "Oleg Broytman <phd@phdru.name>"
-# __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
+# __copyright__ = "Copyright (C) 2000-2013 PhiloSoft Design"
# __license__ = "GNU GPL"
#
.PHONY: distr
distr:
- ./mk-distr file:///home/phd/work/SVN/bookmarks_db/trunk
+ ./mk-distr
fulldistr: clean examples_distr
cd .. && tar cf - bookmarks_db | bzip2 -9 > bookmarks_db-$(VERSION).tar.bz2
# This file is a part of Bookmarks database and Internet robot.
#
# __author__ = "Oleg Broytman <phd@phdru.name>"
-# __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
+# __copyright__ = "Copyright (C) 2000-2013 PhiloSoft Design"
# __license__ = "GNU GPL"
exit 1
}
-if [ -z "$1" ]; then
- error "No Subversion URI specified, program aborted"
-fi
-
-
umask 022
prog_dir="`pwd`" &&
-cd "$HOME/tmp" &&
-svn export "$1" bookmarks_db &&
+git archive --format=tar --prefix=bookmarks_db/ HEAD |
+ (cd "$HOME/tmp" && tar xf -) &&
+cd "$HOME/tmp/bookmarks_db" &&
cp -p "$prog_dir"/BeautifulSoup.py "$prog_dir"/subproc.py \
- "$prog_dir"/hotexplode.pl bookmarks_db &&
-cp -p "$prog_dir"/doc/COPYING bookmarks_db/doc &&
+ "$prog_dir"/hotexplode.pl . &&
+cp -p "$prog_dir"/doc/COPYING doc &&
-cd bookmarks_db && make fulldistr &&
+make fulldistr &&
cd .. && exec rm -rf bookmarks_db