1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +00:00
conky/Makefile.am
Phil Sutter f198fc934b add doxygen support
Since we have no doxygen compatible code comments (we hardly have
comments at all ;) there is not much documentation to be extracted. But
this is still useful, as doxy generates us nice callgraphs showing the
internal code flow chaos. :)

Usage is as follows: after having run ./autogen.sh, doxygen can be
triggered by simply issuing 'make doxy'. This will generate a doxy
config if none exists, and preset some stuff inside (especially
parsing of undocumented stuff). Before all consecutive invocations, the
doxy config (named 'Doxyfile') can be customised to one's personal
needs.
2009-02-22 17:43:10 +01:00

72 lines
2.1 KiB
Makefile

# Conky, a system monitor, based on torsmo
#
# Any original torsmo code is licensed under the BSD license
#
# All code written since the fork of torsmo is licensed under the GPL
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
SUBDIRS = \
src \
doc \
data
AUTOMAKE_OPTIONS = \
1.8 \
dist-bzip2
EXTRA_DIST = \
autogen.sh \
configure.ac.in \
config.rpath \
extras/nano/README \
extras/nano/conky.nanorc \
extras/vim/README \
extras/vim/ftdetect/conkyrc.vim \
extras/vim/syntax/conkyrc.vim \
text2c.sh
ACLOCAL_AMFLAGS = -I m4
distclean-local:
/bin/rm -rf *.cache *~
Doxyfile:
doxygen -g
sed -e 's/^\(PROJECT_NAME *=\).*$$/\1 conky/' \
-e 's/^\(PROJECT_NUMBER *=\).*$$/\1 1.6/' \
-e 's/^\(OPTIMIZE_OUTPUT_FOR_C *=\).*$$/\1 YES/' \
-e 's/^\(EXTRACT_ALL *=\).*$$/\1 YES/' \
-e 's/^\(EXTRACT_PRIVATE *=\).*$$/\1 YES/' \
-e 's/^\(EXTRACT_STATIC *=\).*$$/\1 YES/' \
-e 's/^\(INPUT *=\).*$$/\1 "src"/' \
-e 's/^\(SOURCE_BROWSER *=\).*$$/\1 YES/' \
-e 's/^\(MACRO_EXPANSION *=\).*$$/\1 YES/' \
-e 's/^\(HAVE_DOT *=\).*$$/\1 YES/' \
-e 's/^\(CALL_GRAPH *=\).*$$/\1 YES/' \
-e 's/^\(CALLER_GRAPH *=\).*$$/\1 YES/' -i Doxyfile
doxy: Doxyfile
doxygen $<
.PHONY: distclean-local doxy
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: