]> git.phdru.name Git - bookmarks_db.git/commitdiff
Make the distributive from the Subversion repository, not from CVS.
authorOleg Broytman <phd@phdru.name>
Sat, 29 Jan 2005 19:41:13 +0000 (19:41 +0000)
committerOleg Broytman <phd@phdru.name>
Sat, 29 Jan 2005 19:41:13 +0000 (19:41 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@52 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

Makefile
mk-distr

index efa72ad8e4fbf5552060901a906328f913fc412f..e1e7bbd1195285e84f0fa14ce020170b8c1e5d02 100644 (file)
--- 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
index bc7ff1ad55a04242468a8636c30baf937282cc8a..46fc3e54b700a6d7ed4788c05ab7ed9f605af409 100755 (executable)
--- 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 <phd@phd.pp.ru>"
 # __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