Commit 942bb7e9 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Fix up doc/ handling by adding a proper Makefile.am and

configuring it and the Doxyfile.

Rename configure.in to configure.ac as automake prefers.
Other slight fixes to configure.ac formatting.


Former-commit-id: a16aa64a0f3eb8782600c42ea28b91365ca2cca1
parent 330d3451
......@@ -16,10 +16,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# init the project
AC_INIT(src/space.c)
VERSION="0.1.0"
AC_SUBST(VERSION)
AM_INIT_AUTOMAKE(SWIFT,VERSION)
AC_INIT([SWIFT],[0.1.0])
AC_CONFIG_SRCDIR([src/space.c])
AM_INIT_AUTOMAKE
AC_GNU_SOURCE
AC_PROG_LIBTOOL
......@@ -128,13 +128,11 @@ AC_TRY_LINK([#ifdef HAVE_INTRINSICS_H
#endif], [_rtc()], [AC_DEFINE(HAVE__RTC,1,[Define if you have the UNICOS _rtc() intrinsic.])], [rtc_ok=no])
AC_MSG_RESULT($rtc_ok)
# make the documentation
DX_INIT_DOXYGEN(libchebfun,doc/Doxyfile,doc/)
# generate the Makefiles
AC_OUTPUT(Makefile src/Makefile examples/Makefile doc/Makefile)
DX_INIT_DOXYGEN(libswift,doc/Doxyfile,doc/)
# do the same magic in other directories
# AC_CONFIG_SUBDIRS(src examples)
# .in files.
AC_CONFIG_FILES([Makefile src/Makefile examples/Makefile doc/Makefile doc/Doxyfile])
# generate output.
AC_OUTPUT
......@@ -25,13 +25,13 @@ DOXYFILE_ENCODING = UTF-8
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
# by quotes) that should identify the project.
PROJECT_NAME = SWIFT
PROJECT_NAME = @PACKAGE_NAME@
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
# This could be handy for archiving the generated documentation or
# if some version control system is used.
PROJECT_NUMBER = 0.0.1
PROJECT_NUMBER = @PACKAGE_VERSION@
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
......@@ -580,7 +580,7 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = ../src
INPUT = @top_srcdir@ @top_srcdir@/src
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
......
doxyfile.stamp:
@DX_ENV@ @DX_DOXYGEN@ Doxyfile
echo `date` > doxyfile.stamp
CLEANFILES = doxyfile.stamp
all-local: doxyfile.stamp
clean-local:
rm -rf html/ latex/ man/
distclean: clean
# This file is part of libchebfun.
# Coypright (c) 2010 The Chebfun Team.
#
# 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/>.
all: Doxyfile
@DX_ENV@ @DX_DOXYGEN@ Doxyfile
clean:
rm -rf html/ latex/ man/
distclean: clean
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment