From 7efece4132b5892707ec21cf89f5820950719b50 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 22 Sep 2004 23:00:51 +0000 Subject: [PATCH] make distr-*. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@45 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Makefile | 12 ++++++++++-- mk-distr | 6 +++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 54ab84c..efa72ad 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ VERSION=3.4.0 EXAMPLE_SHELL=ns-unescape mz-unescape bkmk2db koi2win.db \ bkmk-koi bkmk-win bkmk-chk bkmk-set bkmk-sort hotexplode.pl \ check_title.py set-real_title.py set-title-list.py \ - bkmk-add.py bkmk-add bkmk-rsync mz2ns + bkmk-add.py bkmk-add bkmk-rsync mz2ns mk-distr .PHONY: all @@ -12,7 +12,15 @@ all: @echo "Nothing to be done for \`all'" -distr: clean examples_distr +.PHONY: distr +distr: + ./mk-distr HEAD + +.PHONY: distr-% +distr-%: + ./mk-distr "`echo $@ | sed s/^distr-//`" + +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 a113aab..0001e9d 100755 --- a/mk-distr +++ b/mk-distr @@ -8,8 +8,8 @@ # __version__ = \ -# __revision__ = "$Id: mk-distr,v 1.1 2004/09/22 22:58:18 phd Exp $" -# __date__ = "$Date: 2004/09/22 22:58:18 $"[7:-2] +# __revision__ = "$Id: mk-distr,v 1.2 2004/09/22 23:00:51 phd Exp $" +# __date__ = "$Date: 2004/09/22 23:00:51 $"[7:-2] # __author__ = "Oleg Broytmann " # __copyright__ = "Copyright (C) 2003 PhiloSoft Design" @@ -32,4 +32,4 @@ fi umask 022 cd "$HOME/work" || exit 1 cvs export -r "$1" bookmarks_db || exit 1 -cd bookmarks_db && exec make distr +cd bookmarks_db && exec make fulldistr -- 2.39.5