From: Oleg Broytman Date: Mon, 22 Jul 2013 19:11:31 +0000 (+0400) Subject: svn => git X-Git-Tag: v4.5.3~4 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=5bafe0f832ec93712c39352f96f873019bb491e8;p=bookmarks_db.git svn => git --- diff --git a/Makefile b/Makefile index 831351c..fb9061b 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # This file is a part of Bookmarks database and Internet robot. # # __author__ = "Oleg Broytman " -# __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design" +# __copyright__ = "Copyright (C) 2000-2013 PhiloSoft Design" # __license__ = "GNU GPL" # @@ -18,7 +18,7 @@ all: .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 diff --git a/mk-distr b/mk-distr index a19cdf9..923c52d 100755 --- a/mk-distr +++ b/mk-distr @@ -4,7 +4,7 @@ # This file is a part of Bookmarks database and Internet robot. # # __author__ = "Oleg Broytman " -# __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design" +# __copyright__ = "Copyright (C) 2000-2013 PhiloSoft Design" # __license__ = "GNU GPL" @@ -13,20 +13,16 @@ error() { 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