Add vim modelines.
[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         lua                                     \
30         data
31
32 AUTOMAKE_OPTIONS =                              \
33         1.8                                     \
34         dist-bzip2
35
36 EXTRA_DIST =                                    \
37         autogen.sh                              \
38         configure.ac.in                         \
39         config.rpath                            \
40         extras/nano/README                      \
41         extras/nano/conky.nanorc                \
42         extras/vim/README                       \
43         extras/vim/ftdetect/conkyrc.vim         \
44         extras/vim/syntax/conkyrc.vim           \
45         text2c.sh
46
47 ACLOCAL_AMFLAGS = -I m4
48
49 distclean-local:
50         /bin/rm -rf *.cache *~
51
52 Doxyfile:
53         doxygen -g
54         sed -e 's/^\(PROJECT_NAME *=\).*$$/\1 conky/' \
55             -e 's/^\(PROJECT_NUMBER *=\).*$$/\1 1.6/' \
56             -e 's/^\(OPTIMIZE_OUTPUT_FOR_C *=\).*$$/\1 YES/' \
57             -e 's/^\(EXTRACT_ALL *=\).*$$/\1 YES/' \
58             -e 's/^\(EXTRACT_PRIVATE *=\).*$$/\1 YES/' \
59             -e 's/^\(EXTRACT_STATIC *=\).*$$/\1 YES/' \
60             -e 's/^\(INPUT *=\).*$$/\1 "src"/' \
61             -e 's/^\(SOURCE_BROWSER *=\).*$$/\1 YES/' \
62             -e 's/^\(MACRO_EXPANSION *=\).*$$/\1 YES/' \
63             -e 's/^\(HAVE_DOT *=\).*$$/\1 YES/' \
64             -e 's/^\(CALL_GRAPH *=\).*$$/\1 YES/' \
65             -e 's/^\(CALLER_GRAPH *=\).*$$/\1 YES/' -i Doxyfile
66
67 doxy: Doxyfile
68         doxygen $<
69
70 .PHONY: distclean-local doxy
71
72 # vi:set ts=4 sw=4 noet ai nocindent syntax=automake: