]> git.phdru.name Git - bookmarks_db.git/blob - Makefile
Added a shell wrapper for set-title-list.py.
[bookmarks_db.git] / Makefile
1 #
2 # This file is a part of Bookmarks database and Internet robot.
3 #
4 # __version__ = "$Revision$"[11:-2]
5 # __revision__ = "$Id$"[5:-2]
6 # __date__ = "$Date$"[7:-2]
7 # __author__ = "Oleg Broytman <phd@phdru.name>"
8 # __copyright__ = "Copyright (C) 2000-2011 PhiloSoft Design"
9 # __license__ = "GNU GPL"
10 #
11
12 VERSION=4.4.0
13
14 EXAMPLE_SHELL=bkmk-add bkmk-add.py bkmk-chk bkmk-publish bkmk-rsync \
15    bkmk-sort bkmk2db check_title.py check_url.py hotexplode.pl \
16    mk-distr set-real_title.py set-title-list set-title-list.py
17
18 .PHONY: all
19 all:
20         @echo "Nothing to be done for \`all'"
21
22 .PHONY: distr
23 distr:
24         ./mk-distr file:///home/phd/work/SVN/bookmarks_db/trunk
25
26 fulldistr: clean examples_distr
27         cd .. && tar cf - bookmarks_db | bzip2 -9 > bookmarks_db-$(VERSION).tar.bz2
28
29 .PHONY: examples_distr
30 examples_distr:
31         tar cf - $(EXAMPLE_SHELL) | bzip2 -9 > ../bookmarks_sh-$(VERSION).tar.bz2
32         rm $(EXAMPLE_SHELL)
33
34 .PHONY: clean
35 clean:
36         find . -name '*.py[co]' -print | xargs rm -f