]> git.phdru.name Git - bookmarks_db.git/blob - Makefile
Version 3.3.2.
[bookmarks_db.git] / Makefile
1
2
3 VERSION=3.3.2
4 EXAMPLE_SHELL=ns-unescape mz-unescape bkmk2db koi2win.db \
5         bkmk-koi bkmk-win bkmk-chk bkmk-set bkmk-sort hotexplode.pl \
6         check_title.py set-real_title.py set-title-list.py.py \
7         bkmk-add.py bkmk-add bkmk-rsync
8
9
10 .PHONY: all
11 all:
12         @echo "Nothing to be done for \`all'"
13
14
15 distr: clean examples_distr
16         cd .. && tar cf - bookmarks_db | gzip -9 > bookmarks_db-$(VERSION)-`date +'%Y%m%d'`.tar.gz
17
18
19 .PHONY: examples_distr
20 examples_distr:
21         tar cf - $(EXAMPLE_SHELL) | gzip -9 > ../bookmarks_sh-$(VERSION)-`date +'%Y%m%d'`.tar.gz
22         rm $(EXAMPLE_SHELL)
23
24
25 .PHONY: clean
26 clean:
27         find . -name '*.py[co]' -print | xargs rm -f