# If left blank the directory from which doxygen is run is used as the
# path to strip.
-STRIP_FROM_PATH =
+STRIP_FROM_PATH = $(SRCDIR_SLASH)
# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
# the path mentioned in the documentation of a class, which tells
# definition is used. Otherwise one should specify the include paths that
# are normally passed to the compiler using the -I flag.
-STRIP_FROM_INC_PATH =
+STRIP_FROM_INC_PATH = $(SRCDIR_SLASH)
# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
# (but less readable) file names. This can be useful is your file systems
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
-INPUT = src
+INPUT = $(SRCDIR_SLASH)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
# directories that contain example code fragments that are included (see
# the \include command).
-EXAMPLE_PATH = workspace
+EXAMPLE_PATH = $(SRCDIR_SLASH)workspace
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# each generated HTML page. If it is left blank doxygen will generate a
# standard header.
-HTML_HEADER = web/doxy-header.html
+HTML_HEADER = $(SRCDIR_SLASH)web/doxy-header.html
# The HTML_FOOTER tag can be used to specify a personal HTML footer for
# each generated HTML page. If it is left blank doxygen will generate a
# standard footer.
-HTML_FOOTER = web/doxy-footer.html
+HTML_FOOTER = $(SRCDIR_SLASH)web/doxy-footer.html
# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
# style sheet that is used by each HTML page. It can be used to
# the style sheet file to the HTML output directory, so don't put your own
# stylesheet in the HTML output directory as well, or it will be erased!
-HTML_STYLESHEET = web/doxygen.css
+HTML_STYLESHEET = $(SRCDIR_SLASH)web/doxygen.css
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
# files or namespaces will be aligned in HTML using tables. If set to
# debugging support for the InterAspect library.
make CFLAGS='-g -O0'
+---
+(3a. Documentation)
+-
+
+InterAspect's public API functions are all documented with Doxygen
+comments. You can generate HTML documentation from these comments
+with the command:
+
+make doxygen-doc
+
+If you haven't configured InterAspect, you can still generate the
+documentation by just running:
+
+doxygen
+
+The documentation for the most recent InterAspect release is available
+at the InterAspect web site:
+
+http://www.fsl.cs.sunysb.edu/interaspect/
+
--------
4. Building an InterAspect Plug-in
---
DX_PS_FEATURE(OFF)
DX_INIT_DOXYGEN([$PACKAGE_NAME],[Doxyfile],[doc])
+# HACK: We want to give the Doxygen config file the source directory
+# as an environment variable that definitely has a slash at the end.
+# That way, we can specify a file as $(SRCDIR_SLASH)filename. If the
+# $(SRCDIR_SLASH) variable is not defined, the config file just uses
+# the current directory.
+DX_ENV_APPEND(SRCDIR_SLASH, $srcdir/)
+
AC_CONFIG_FILES([Makefile
src/Makefile
test/Makefile