Skip to content

Commit

Permalink
trying doc build a different way
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Jul 31, 2020
1 parent 0e6e349 commit 0cdc421
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/autotools_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@ jobs:
tar -xzvf pnetcdf-1.11.0.tar.gz
ls -l
pushd pnetcdf-1.11.0
./configure --prefix=/usr --enable-shared
./configure --prefix=/usr --enable-shared --disable-cxx
make
sudo make install
popd
- name: autoreconf
run: autoreconf -i
- name: configure
run: ./configure --enable-docs; cat config.log
run: |
doxygen --version
./configure --enable-docs
cat config.log
- name: make check
run: make check
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ if test -z "$DOXYGEN" -a "x$enable_docs" = xyes; then
AC_MSG_ERROR([Doxygen not found but --enable-docs used.])
fi

AC_MSG_NOTICE([processing doxyfile])
# If building docs, process Doxyfile.in into Doxyfile.
if test "x$enable_docs" = xyes; then
AC_SUBST([CMAKE_CURRENT_SOURCE_DIR], ["."])
Expand All @@ -223,6 +224,7 @@ if test "x$enable_docs" = xyes; then
AC_CONFIG_FILES([doc/Doxyfile])
fi

AC_MSG_NOTICE([setting flags])
# NetCDF (at least classic) is required for PIO to build.
AC_DEFINE([_NETCDF], [1], [netCDF classic library available])

Expand Down

0 comments on commit 0cdc421

Please sign in to comment.