X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=mk-distr;h=a19cdf986f790cbbc00d979c8f35d50cbc16124e;hb=bcac042adacdcc7b8bc99e25220d05ba38397c03;hp=98ba9acb85b24548fbb657a226a5b98ad67252c6;hpb=9ee993e850d08b63d9cc10dd2da8340574e9a6a0;p=bookmarks_db.git diff --git a/mk-distr b/mk-distr index 98ba9ac..a19cdf9 100755 --- a/mk-distr +++ b/mk-distr @@ -1,17 +1,11 @@ #! /bin/sh -# Mk-distr script. +# Helper script called from Makefile # -# This file is a part of Bookmarks Database and Internet robot. -# Author: Oleg BroytMann . -# Copyright: (C) 2004-2008 PhiloSoft Design. -# License: GPL. - - -# __version__ = \ -# __revision__ = "$Id$" -# __date__ = "$Date$"[7:-2] -# __author__ = "Oleg Broytmann " -# __copyright__ = "Copyright (C) 2004-2008 PhiloSoft Design" +# This file is a part of Bookmarks database and Internet robot. +# +# __author__ = "Oleg Broytman " +# __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design" +# __license__ = "GNU GPL" error() { @@ -25,7 +19,14 @@ fi umask 022 -cd "$HOME/work" || exit 1 -svn export "$1" bookmarks_db || exit 1 -cd bookmarks_db && make fulldistr && \ +prog_dir="`pwd`" && + +cd "$HOME/tmp" && +svn export "$1" 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 && + +cd bookmarks_db && make fulldistr && cd .. && exec rm -rf bookmarks_db