]> git.phdru.name Git - bookmarks_db.git/blob - Makefile
Make the distributive from the Subversion repository, not from CVS.
[bookmarks_db.git] / Makefile
1
2
3 VERSION=3.4.0
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 \
7         bkmk-add.py bkmk-add bkmk-rsync mz2ns mk-distr
8
9
10 .PHONY: all
11 all:
12         @echo "Nothing to be done for \`all'"
13
14
15 .PHONY: distr
16 distr:
17         ./mk-distr file:///home/phd/work/SVN/bookmarks_db/trunk
18
19 fulldistr: clean examples_distr
20         cd .. && tar cf - bookmarks_db | gzip -9 > bookmarks_db-$(VERSION)-`date +'%Y%m%d'`.tar.gz
21
22
23 .PHONY: examples_distr
24 examples_distr:
25         tar cf - $(EXAMPLE_SHELL) | gzip -9 > ../bookmarks_sh-$(VERSION)-`date +'%Y%m%d'`.tar.gz
26         rm $(EXAMPLE_SHELL)
27
28
29 .PHONY: clean
30 clean:
31         find . -name '*.py[co]' -print | xargs rm -f