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