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
@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
# __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 <phd@phd.pp.ru>"
# __copyright__ = "Copyright (C) 2003 PhiloSoft Design"
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