]> git.llucax.com Git - software/bife/bife-all.git/blob - Makefile
808da6b2c327ce282e2751fee3ab262de555ead8
[software/bife/bife-all.git] / Makefile
1 # vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
2 # +--------------------------------------------------------------------+
3 # |                       BIFE - Buil It FastEr                        |
4 # +--------------------------------------------------------------------+
5 # | This file is part of BIFE.                                         |
6 # |                                                                    |
7 # | BIFE is free software; you can redistribute it and/or modify it    |
8 # | under the terms of the GNU General Public License as published by  |
9 # | the Free Software Foundation; either version 2 of the License, or  |
10 # | (at your option) any later version.                                |
11 # |                                                                    |
12 # | BIFE is distributed in the hope that it will be useful, but        |
13 # | WITHOUT ANY WARRANTY; without even the implied warranty of         |
14 # | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
15 # | General Public License for more details.                           |
16 # |                                                                    |
17 # | You should have received a copy of the GNU General Public License  |
18 # | along with Hooks; if not, write to the Free Software Foundation,   |
19 # | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
20 # +--------------------------------------------------------------------+
21 # | Created: Mon May 19 00:16:56 ART 2003                              |
22 # | Authors: Leandro Lucarella <luca@lugmen.org.ar>                    |
23 # +--------------------------------------------------------------------+
24 #
25 # $Id$
26 #
27
28 all: doc code
29
30 doc: api
31
32 api: Doxyfile src/*.php src/BIFE/*.php
33         doxygen
34
35 code: doc/bife.xmi
36         xmi2code -a
37
38 clean-code:
39         find src/ -name '*.bak' | xargs rm -vf
40
41 clean-doc:
42         rm -fvR doc/api/html doc/api/rtf doc/api/latex
43
44 clean: clean-doc clean-backup
45
46 tarball:
47         tar --exclude bife/doxygen.warn --exclude .svn --exclude .bak --exclude .swp --exclude 'bife/doc/api/*' -C .. -cvzf ../bife.tar.gz bife