]> git.phdru.name Git - bookmarks_db.git/blob - Makefile
Fix(Robot): Stop splitting and un-splitting URLs
[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-2014 PhiloSoft Design"
6 # __license__ = "GNU GPL"
7 #
8
9 VERSION=4.6.0
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
22
23 .PHONY: fulldistr
24 fulldistr: clean examples_distr
25         cd .. && tar cf - bookmarks_db | bzip2 -9 > bookmarks_db-$(VERSION).tar.bz2
26
27 .PHONY: examples_distr
28 examples_distr:
29         tar cf - $(EXAMPLE_SHELL) | bzip2 -9 > ../bookmarks_sh-$(VERSION).tar.bz2
30         rm $(EXAMPLE_SHELL)
31
32 .PHONY: clean
33 clean:
34         find . -name '*.py[co]' -type f -delete