From: Oleg Broytman Date: Sat, 29 Jan 2005 19:41:13 +0000 (+0000) Subject: Make the distributive from the Subversion repository, not from CVS. X-Git-Tag: v4.5.3~324 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=1b0364ea06a4a78a1002e499f4c9dbfa31bb0915;p=bookmarks_db.git Make the distributive from the Subversion repository, not from CVS. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@52 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- diff --git a/Makefile b/Makefile index efa72ad..e1e7bbd 100644 --- a/Makefile +++ b/Makefile @@ -14,11 +14,7 @@ all: .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 diff --git a/mk-distr b/mk-distr index bc7ff1a..46fc3e5 100755 --- a/mk-distr +++ b/mk-distr @@ -8,8 +8,8 @@ # __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 " # __copyright__ = "Copyright (C) 2004 PhiloSoft Design" @@ -20,16 +20,11 @@ error() { } 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