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