]> code.delx.au - offlineimap/blob - Makefile
Checkpointing for .8
[offlineimap] / Makefile
1 # Copyright (C) 2002 John Goerzen
2 # <jgoerzen@complete.org>
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 SHELL=/bin/bash
18
19 clean:
20 -python2.3 setup.py clean --all
21 -rm -f `find . -name "*~"`
22 -rm -f `find . -name "*.tmp"`
23 -rm -f bin/offlineimapc
24 -rm -f `find . -name "*.pyc"`
25 -rm -f `find . -name "*.pygc"`
26 -rm -f `find . -name "*.class"`
27 -rm -f `find . -name "*.bak"`
28 -rm -f `find . -name ".cache*"`
29 -rm manpage.links
30 -rm manpage.refs
31 -find . -name auth -exec rm -vf {}/password {}/username \;
32 -svn cleanup
33
34 changelog:
35 svn log -v --stop-on-copy > ChangeLog
36
37 doc:
38 docbook2man offlineimap.sgml
39 docbook2man offlineimap.sgml
40 docbook2html -u offlineimap.sgml
41 mv offlineimap.html manual.html
42 man -t -l offlineimap.1 > manual.ps
43 ps2pdf manual.ps
44 groff -Tascii -man offlineimap.1 | sed $$'s/.\b//g' > manual.txt
45 -rm manpage.links manpage.refs
46