]> git.phdru.name Git - bookmarks_db.git/blobdiff - mk-distr
Stopped tracking the text of the GPL license. Moved it to doc subdirectory.
[bookmarks_db.git] / mk-distr
index 98ba9acb85b24548fbb657a226a5b98ad67252c6..ad05d866e96fc98954d137c7f01a7a2f7dab81ab 100755 (executable)
--- a/mk-distr
+++ b/mk-distr
@@ -2,16 +2,16 @@
 # Mk-distr script.
 #
 # This file is a part of Bookmarks Database and Internet robot.
-# Author: Oleg BroytMann <phd@phd.pp.ru>.
-# Copyright: (C) 2004-2008 PhiloSoft Design.
+# Author: Oleg Broytman <phd@phdru.name>.
+# Copyright: (C) 2004-2011 PhiloSoft Design.
 # License: GPL.
 
 
 # __version__ = \
 # __revision__ = "$Id$"
 # __date__ = "$Date$"[7:-2]
-# __author__ = "Oleg Broytmann <phd@phd.pp.ru>"
-# __copyright__ = "Copyright (C) 2004-2008 PhiloSoft Design"
+# __author__ = "Oleg Broytman <phd@phdru.name>"
+# __copyright__ = "Copyright (C) 2004-2011 PhiloSoft Design"
 
 
 error() {
@@ -25,7 +25,13 @@ fi
 
 
 umask 022
-cd "$HOME/work" || exit 1
-svn export "$1" bookmarks_db || exit 1
+prog_dir="`pwd`" && \
+
+cd "$HOME/tmp" && \
+svn export "$1" bookmarks_db && \
+
+cp -p "$prog_dir"/hotexplode.pl bookmarks_db && \
+cp -p "$prog_dir"/doc/COPYING "$prog_dir"/BeautifulSoup.py "$prog_dir"/subproc.py bookmarks_db && \
+
 cd bookmarks_db && make fulldistr && \
 cd .. && exec rm -rf bookmarks_db