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