1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
## process this file with automake to produce Makefile.in
#
# This file is part of Rheolef.
#
# Copyright (C) 2000-2009 Pierre Saramito
#
# Rheolef 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 2 of the License, or
# (at your option) any later version.
#
# Rheolef 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 Rheolef; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
include ${top_builddir}/config/config.mk
docdir = $(prefix)/share/doc/@doc_dir@
EXTRA_DIST = Doxyfile.in footer.html Makefile.am
# added by automake1.9 : skip because non-local path
NONLOCAL_IGNORE = \
Makefile.in \
$(srcdir)/Makefile.in
CVSIGNORE = $(NONLOCAL_IGNORE)
WCIGNORE = $(NONLOCAL_IGNORE) Doxyfile.in
# experimental doxygen documentation : check for doxygen and dot
old-dvi-local: doxygen
# scan *.h and .cc in these directories
if USE_NEW_CODE
SKIT_LIB = skit/plib2
FEM_LIB = nfem/plib
EXAMPLES = doc/pexamples
# TODO: too big P10.cc ...
FEM_BASIS =
else
SKIT_LIB = skit/lib
FEM_LIB = nfem/lib \
nfem/form_element
EXAMPLES = doc/usrman
FEM_BASIS = nfem/basis
endif
LIB_SUBDIRS = \
config \
util/fdstream \
util/lib \
util/ublas \
$(SKIT_LIB) \
nfem/quadrature \
nfem/geo_element \
$(FEM_LIB) \
$(FEM_BASIS) \
$(EXAMPLES)
Doxyfile: $(srcdir)/Doxyfile.in $(srcdir)/Makefile.am
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
input=""; \
for f in $(LIB_SUBDIRS); do \
input="$$input ${top_srcdir}/$$f"; \
done; \
if test x"${top_srcdir}" != x"${top_builddir}"; then \
for f in $(LIB_SUBDIRS); do \
input="$$input ${top_builddir}/$$f"; \
done \
fi; \
predefined_multi_line=`grep '#define' ${top_srcdir}/config/config.h | awk '{print $$2}'`; \
predefined=`echo $$predefined_multi_line`; \
sed -e "s,@INPUT@,$$input," -e "s,@PREDEFINED@,$$predefined," < Doxyfile > Doxyfile.new
mv Doxyfile.new Doxyfile
doc doxygen: stamp-html
old-install-data-local: dvi
$(MKDIRHIER) $(DESTDIR)$(docdir); \
if test -d html; then \
rm -rf $(DESTDIR)$(docdir)/source_html; \
cp -r html $(DESTDIR)$(docdir)/source_html; \
fi
old-uninstall-local: dvi
/bin/rm -f $(DESTDIR)$(docdir)/*
web-install: stamp-html
rm -rf $(WEB_DIR)/source
cp -rp html $(WEB_DIR)/source
stamp-html: Doxyfile ../../config/doc2oxy
@if test x"${DOXYGEN}" != x""; then \
echo "${DOXYGEN} Doxyfile"; \
${DOXYGEN} Doxyfile || true; \
fi
touch stamp-html
clean-local:
/bin/rm -rf Doxyfile html rheolef.tag stamp-html
|