Build fix for IBM support.
[monky] / Makefile.am
index b83be69..01ddd7e 100644 (file)
@@ -1,3 +1,5 @@
+# -*- mode: Makefile; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
+#
 # Conky, a system monitor, based on torsmo
 #
 # Any original torsmo code is licensed under the BSD license
@@ -7,7 +9,7 @@
 # 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)
+# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
 # All rights reserved.
 #
 # This program is free software: you can redistribute it and/or modify
@@ -26,6 +28,7 @@
 SUBDIRS =                                      \
        src                                     \
        doc                                     \
+       lua                                     \
        data
 
 AUTOMAKE_OPTIONS =                             \
@@ -40,11 +43,32 @@ EXTRA_DIST =                                        \
        extras/nano/conky.nanorc                \
        extras/vim/README                       \
        extras/vim/ftdetect/conkyrc.vim         \
-       extras/vim/syntax/conkyrc.vim
+       extras/vim/syntax/conkyrc.vim           \
+       text2c.sh
 
 ACLOCAL_AMFLAGS = -I m4
 
 distclean-local:
        /bin/rm -rf *.cache *~
 
-# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
+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=4 sw=4 noet ai nocindent syntax=automake: