7a9a6511e2f00fd8168361115ff617741c6fa080
[monky] / Makefile.am
1 # Conky, a system monitor, based on torsmo
2 #
3 # Any original torsmo code is licensed under the BSD license
4 #
5 # All code written since the fork of torsmo is licensed under the GPL
6 #
7 # Please see COPYING for details
8 #
9 # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
10 # Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
11 # All rights reserved.
12 #
13 # This program is free software: you can redistribute it and/or modify
14 # it under the terms of the GNU General Public License as published by
15 # the Free Software Foundation, either version 3 of the License, or
16 # (at your option) any later version.
17 #
18 # This program is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 # GNU General Public License for more details.
22 # You should have received a copy of the GNU General Public License
23 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
24 #
25
26 SUBDIRS =                                       \
27         src                                     \
28         doc                                     \
29         data
30
31 AUTOMAKE_OPTIONS =                              \
32         1.8                                     \
33         dist-bzip2
34
35 EXTRA_DIST =                                    \
36         autogen.sh                              \
37         configure.ac.in                         \
38         config.rpath                            \
39         extras/nano/README                      \
40         extras/nano/conky.nanorc                \
41         extras/vim/README                       \
42         extras/vim/ftdetect/conkyrc.vim         \
43         extras/vim/syntax/conkyrc.vim           \
44         text2c.sh
45
46 ACLOCAL_AMFLAGS = -I m4
47
48 distclean-local:
49         /bin/rm -rf *.cache *~
50
51 Doxyfile:
52         doxygen -g
53         sed -e 's/^\(PROJECT_NAME *=\).*$$/\1 conky/' \
54             -e 's/^\(PROJECT_NUMBER *=\).*$$/\1 1.6/' \
55             -e 's/^\(OPTIMIZE_OUTPUT_FOR_C *=\).*$$/\1 YES/' \
56             -e 's/^\(EXTRACT_ALL *=\).*$$/\1 YES/' \
57             -e 's/^\(EXTRACT_PRIVATE *=\).*$$/\1 YES/' \
58             -e 's/^\(EXTRACT_STATIC *=\).*$$/\1 YES/' \
59             -e 's/^\(INPUT *=\).*$$/\1 "src"/' \
60             -e 's/^\(SOURCE_BROWSER *=\).*$$/\1 YES/' \
61             -e 's/^\(MACRO_EXPANSION *=\).*$$/\1 YES/' \
62             -e 's/^\(HAVE_DOT *=\).*$$/\1 YES/' \
63             -e 's/^\(CALL_GRAPH *=\).*$$/\1 YES/' \
64             -e 's/^\(CALLER_GRAPH *=\).*$$/\1 YES/' -i Doxyfile
65
66 doxy: Doxyfile
67         doxygen $<
68
69 .PHONY: distclean-local doxy
70
71 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: