Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ms-public
nomad
Commits
7e83ca7a
Commit
7e83ca7a
authored
May 13, 2014
by
Miroslav Shaltev
Browse files
add doxygen support
parent
4f3a80ae
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Makefile.am
View file @
7e83ca7a
ACLOCAL_AMFLAGS
=
-I
m4
SUBDIRS
=
src
EXTRA_DIST
=
autogen.sh
\ No newline at end of file
SUBDIRS
=
\
src
\
docs
EXTRA_DIST
=
autogen.sh docs/html
\ No newline at end of file
configure.ac
View file @
7e83ca7a
...
...
@@ -12,6 +12,7 @@ AC_PROG_RANLIB
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
AM_INIT_AUTOMAKE
AC_CHECK_LIB([m], [sin])
...
...
@@ -21,6 +22,23 @@ AC_CHECK_HEADERS([limits.h stdlib.h unistd.h])
AC_FUNC_ERROR_AT_LINE
AC_CHECK_FUNCS([floor pow sqrt])
AC_CHECK_PROGS([DOXYGEN],[doxygen])
if test "x$DOXYGEN" = "xtrue"; then
AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
fi
AC_CHECK_PROGS([DOT],[dot])
if test "x$DOT" = "xtrue"; then
AC_MSG_WARN([dot not found - install graphviz for more fancier documentation])
fi
AM_CONDITIONAL([HAVE_DOXYGEN],[test -n "$DOXYGEN"])
AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([docs/Doxyfile])])
NOMAD_ENABLE_MPI
MPI_ENABLE_VAL="`eval test x$mpi = xtrue && echo "ENABLED"||echo "DISABLED"`"
AM_CONDITIONAL([MPI_ENABLED],[test "$MPI_ENABLE_VAL" = "ENABLED"])
...
...
@@ -34,5 +52,5 @@ fi
NOMAD_ENABLE_MODULE([MPI],[mpi])
AC_PROG_CPP
AC_CONFIG_FILES([Makefile src/Makefile nomad.pc nomadmpi.pc])
AC_CONFIG_FILES([Makefile src/Makefile
docs/Makefile
nomad.pc nomadmpi.pc])
AC_OUTPUT
docs/Doxyfile.in
0 → 100644
View file @
7e83ca7a
This diff is collapsed.
Click to expand it.
docs/Makefile.am
0 → 100644
View file @
7e83ca7a
if
HAVE_DOXYGEN
directory
=
$(top_srcdir)
/docs
$(directory)/html
:
doxyfile.stamp
doxyfile.stamp
:
$(DOXYGEN)
Doxyfile
echo
Timestamp
>
doxyfile.stamp
CLEANFILES
=
doxyfile.stamp
docsdir
=
$(datadir)
/docs/@PACKAGE@/html
docs_DATA
=
$(directory)
/html/
*
.html
\
$(directory)
/html/
*
.png
\
$(directory)
/html/
*
.css
\
$(directory)
/html/
*
.jpg
\
$(directory)
/html/
*
.m
*
\
$(directory)
/html/
*
.js
sdocsdir
=
$(datadir)
/docs/@PACKAGE@/html/search
sdocs_DATA
=
$(directory)
/html/search/
*
.html
\
$(directory)
/html/search/
*
.png
\
$(directory)
/html/search/
*
.css
\
$(directory)
/html/search/
*
.js
all-local
:
doxyfile.stamp
clean-local
:
rm
-rf
$(top_srcdir)
/docs/html
endif
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment