]> git.phdru.name Git - bookmarks_db.git/blob - Makefile
Feat: For the robot based on requests allow to use a proxy
[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-2024 PhiloSoft Design"
6 # __license__ = "GNU GPL"
7 #
8
9 VERSION=5.2.0
10
11 EXAMPLE_SHELL=\
12    bkmk-add bkmk-add.py bkmk-chk bkmk-publish bkmk-rsync bkmk-sort bkmk2db \
13    check_dups.py check_redirects.py check_title.py check_url.py \
14    delete delete.py hotexplode.pl mk-distr set-URLs set-URLs.py \
15    set-real_title.py set-title-list set-title-list.py sort_db.py
16
17 .PHONY: all
18 all:
19         @echo "Nothing to be done for \`all'"
20
21 .PHONY: distr
22 distr:
23         ./mk-distr
24
25 .PHONY: fulldistr
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]' -type f -delete