Skip to content

Commit

Permalink
Renamed man4 directory to docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ward Fisher committed May 21, 2014
1 parent 48a3aa5 commit 05aaa4b
Show file tree
Hide file tree
Showing 65 changed files with 88 additions and 86 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ ENDIF()
#####
# Build doxygen documentation, if need be.
#####
ADD_SUBDIRECTORY(man4)
ADD_SUBDIRECTORY(docs)
#####
# Moving on to CPack, install packages.
#####
Expand All @@ -1159,7 +1159,7 @@ ENDIF()


IF(ENABLE_DOXYGEN)
INSTALL(DIRECTORY man4 DESTINATION "." COMPONENT documentation)
INSTALL(DIRECTORY docs DESTINATION "." COMPONENT documentation)
ENDIF()

# Subdirectory CMakeLists.txt files should specify their own
Expand Down
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ PROJECT_BRIEF = "The netCDF C libraries"
# exceed 55 pixels and the maximum width should not exceed 200 pixels.
# Doxygen will copy the logo to the output directory.

PROJECT_LOGO = ./man4/unidata_logo_cmyk.png
PROJECT_LOGO = ./docs/unidata_logo_cmyk.png

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down
6 changes: 3 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ pkgconfigdir=$(libdir)/pkgconfig
pkgconfig_DATA = netcdf.pc

# We need a way to automatically generate INSTALL from
# man4/install.doc, now that we've switched from texinfo to doxygen.
# docs/install.doc, now that we've switched from texinfo to doxygen.
# INSTALL:
# non-existent-doxygen-to-text-utility < man4/install.doc > INSTALL
# non-existent-doxygen-to-text-utility < docs/install.doc > INSTALL

# Does the user want to build the V2 API?
if BUILD_V2
Expand Down Expand Up @@ -89,7 +89,7 @@ SUBDIRS = include $(OCLIB) $(H5_TEST_DIR) libdispatch libsrc \
$(LIBSRC4_DIR) $(DAP2) $(LIBCDMR) $(LIBSRC5) liblib \
$(NCGEN3) $(NCGEN) $(NCDUMP) \
$(TESTDIRS) \
man4 $(EXAMPLES) \
docs $(EXAMPLES) \
$(UDUNITS) $(LIBCF)

# Remove these generated files, for a distclean.
Expand Down
4 changes: 3 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ This file contains a high-level description of this package's evolution. Release

### 4.3.3-rc1 Released TBD

* Removed redundant variable `BUILD_DOCS` from the CMake configuration file. See the issue at github: [BUILD\_DOCS, ENABLE\_DOXYGEN](https://github.com/Unidata/netcdf-c/issues/59).
* Renamed `man4/` directory to `docs/` to make the purpose and contents clearer. See [man4 vs. docs #60](https://github.com/Unidata/netcdf-c/issues/60).

* Removed redundant variable `BUILD_DOCS` from the CMake configuration file. See the issue at github: [BUILD\_DOCS, ENABLE\_DOXYGEN #59](https://github.com/Unidata/netcdf-c/issues/59).

* Added missing documentation templates to `man4/Makefile.am`, to correct an issue when trying to build the local `Doxygen`-generated documentation. This issue was reported by Nico Schlömer and may be viewed on github. [Releases miss Doxygen files #56](https://github.com/Unidata/netcdf-c/issues/56)

Expand Down
10 changes: 5 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -627,13 +627,13 @@ fi
if test "x$enable_doxygen" != xno; then
if test -n "$DOXYGEN"; then
AC_SUBST(HAVE_DOT)
AC_CONFIG_FILES([man4/Doxyfile])
AC_CONFIG_FILES([docs/Doxyfile])
fi
# Note: the list of files to input to doxygen
# has been moved to man4/Doxyfile.in so
# has been moved to docs/Doxyfile.in so
# that make distcheck works correctly.
# Any new inputs should be inserted into
# man4/Doxyfile.in and possibley man4/Makefile.am
# docs/Doxyfile.in and possibley docs/Makefile.am
fi

# Find the install program.
Expand Down Expand Up @@ -1001,8 +1001,8 @@ AC_CONFIG_FILES([Makefile
netcdf.pc
include/Makefile
h5_test/Makefile
man4/Makefile
man4/images/Makefile
docs/Makefile
docs/images/Makefile
libsrc/Makefile
libsrc4/Makefile
libsrc5/Makefile
Expand Down
2 changes: 1 addition & 1 deletion man4/CMakeLists.txt → docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ ENDIF()

SET(CUR_EXTRA_DIST ${CUR_EXTRA_DIST} CMakeLists.txt Makefile.am netcdf.m4 DoxygenLayout.xml Doxyfile.in Doxyfile.guide.in footer.html mainpage.dox tutorial.dox install.dox dispatch.dox guide.dox types.dox notes.dox cdl.dox architecture.dox internal.dox install-fortran.dox Doxyfile.in.cmake windows-binaries.md building-with-cmake.md)

ADD_EXTRA_DIST("${CUR_EXTRA_DIST}")
ADD_EXTRA_DIST("${CUR_EXTRA_DIST}")
34 changes: 17 additions & 17 deletions man4/Doxyfile.guide.in → docs/Doxyfile.guide.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ PROJECT_BRIEF =
# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo
# to the output directory.

PROJECT_LOGO = ../../man4/netcdf-50x50.png
PROJECT_LOGO = ../../docs/netcdf-50x50.png

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
# into which the generated documentation will be written. If a relative path is
Expand Down Expand Up @@ -661,7 +661,7 @@ FILE_VERSION_FILTER =
# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
# tag is left empty.

LAYOUT_FILE = @abs_top_srcdir@/man4/DoxygenLayout.xml
LAYOUT_FILE = @abs_top_srcdir@/docs/DoxygenLayout.xml

# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
# the reference definitions. This must be a list of .bib files. The .bib
Expand Down Expand Up @@ -743,7 +743,7 @@ WARN_LOGFILE =
# spaces.
# Note: If this tag is empty the current directory is searched.

INPUT = @abs_top_srcdir@/man4/guide.dox
INPUT = @abs_top_srcdir@/docs/guide.dox

# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
Expand Down Expand Up @@ -831,19 +831,19 @@ EXAMPLE_RECURSIVE = NO
# that contain images that are to be included in the documentation (see the
# \image command).

IMAGE_PATH = @abs_top_srcdir@/man4/images/chunking2.png \
@abs_top_srcdir@/man4/images/compatibility3.png \
@abs_top_srcdir@/man4/images/compression.png \
@abs_top_srcdir@/man4/images/groups.png \
@abs_top_srcdir@/man4/images/nc4-model.png \
@abs_top_srcdir@/man4/images/ncatts.png \
@abs_top_srcdir@/man4/images/nc-classic-uml.png \
@abs_top_srcdir@/man4/images/nccoords.png \
@abs_top_srcdir@/man4/images/ncfile.png \
@abs_top_srcdir@/man4/images/netcdf_architecture.png \
@abs_top_srcdir@/man4/images/pnetcdf.png \
@abs_top_srcdir@/man4/images/deptree.jpg \
@abs_top_srcdir@/man4/images/InstallTreeWindows.jpg
IMAGE_PATH = @abs_top_srcdir@/docs/images/chunking2.png \
@abs_top_srcdir@/docs/images/compatibility3.png \
@abs_top_srcdir@/docs/images/compression.png \
@abs_top_srcdir@/docs/images/groups.png \
@abs_top_srcdir@/docs/images/nc4-model.png \
@abs_top_srcdir@/docs/images/ncatts.png \
@abs_top_srcdir@/docs/images/nc-classic-uml.png \
@abs_top_srcdir@/docs/images/nccoords.png \
@abs_top_srcdir@/docs/images/ncfile.png \
@abs_top_srcdir@/docs/images/netcdf_architecture.png \
@abs_top_srcdir@/docs/images/pnetcdf.png \
@abs_top_srcdir@/docs/images/deptree.jpg \
@abs_top_srcdir@/docs/images/InstallTreeWindows.jpg

# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
Expand Down Expand Up @@ -1076,7 +1076,7 @@ HTML_HEADER =
# that doxygen normally uses.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_FOOTER = @abs_top_srcdir@/man4/footer.html
HTML_FOOTER = @abs_top_srcdir@/docs/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 fine-tune the look of
Expand Down
58 changes: 29 additions & 29 deletions man4/Doxyfile.in → docs/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ PROJECT_BRIEF =
# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo
# to the output directory.

PROJECT_LOGO = ../../man4/netcdf-50x50.png
PROJECT_LOGO = ../../docs/netcdf-50x50.png

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
# into which the generated documentation will be written. If a relative path is
Expand Down Expand Up @@ -661,7 +661,7 @@ FILE_VERSION_FILTER =
# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
# tag is left empty.

LAYOUT_FILE = @abs_top_srcdir@/man4/DoxygenLayout.xml
LAYOUT_FILE = @abs_top_srcdir@/docs/DoxygenLayout.xml

# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
# the reference definitions. This must be a list of .bib files. The .bib
Expand Down Expand Up @@ -746,19 +746,19 @@ WARN_LOGFILE =
INPUT = \
@abs_top_srcdir@/RELEASE_NOTES.md \
@abs_top_srcdir@/COPYRIGHT \
@abs_top_srcdir@/man4/groups.dox \
@abs_top_srcdir@/man4/mainpage.dox \
@abs_top_srcdir@/man4/install.md \
@abs_top_srcdir@/man4/install-fortran.md \
@abs_top_srcdir@/man4/dispatch.dox \
@abs_top_srcdir@/man4/types.dox \
@abs_top_srcdir@/man4/notes.dox \
@abs_top_srcdir@/man4/cdl.dox \
@abs_top_srcdir@/man4/architecture.dox \
@abs_top_srcdir@/man4/internal.dox \
@abs_top_srcdir@/man4/windows-binaries.md \
@abs_top_srcdir@/man4/all-error-codes.md \
@abs_top_srcdir@/man4/cmake_faq.md \
@abs_top_srcdir@/docs/groups.dox \
@abs_top_srcdir@/docs/mainpage.dox \
@abs_top_srcdir@/docs/install.md \
@abs_top_srcdir@/docs/install-fortran.md \
@abs_top_srcdir@/docs/dispatch.dox \
@abs_top_srcdir@/docs/types.dox \
@abs_top_srcdir@/docs/notes.dox \
@abs_top_srcdir@/docs/cdl.dox \
@abs_top_srcdir@/docs/architecture.dox \
@abs_top_srcdir@/docs/internal.dox \
@abs_top_srcdir@/docs/windows-binaries.md \
@abs_top_srcdir@/docs/all-error-codes.md \
@abs_top_srcdir@/docs/cmake_faq.md \
@abs_top_srcdir@/include/netcdf.h \
@abs_top_srcdir@/libdispatch/dfile.c \
@abs_top_srcdir@/libdispatch/ddim.c \
Expand Down Expand Up @@ -869,19 +869,19 @@ EXAMPLE_RECURSIVE = NO
# that contain images that are to be included in the documentation (see the
# \image command).

IMAGE_PATH = @abs_top_srcdir@/man4/images/chunking2.png \
@abs_top_srcdir@/man4/images/compatibility3.png \
@abs_top_srcdir@/man4/images/compression.png \
@abs_top_srcdir@/man4/images/groups.png \
@abs_top_srcdir@/man4/images/nc4-model.png \
@abs_top_srcdir@/man4/images/ncatts.png \
@abs_top_srcdir@/man4/images/nc-classic-uml.png \
@abs_top_srcdir@/man4/images/nccoords.png \
@abs_top_srcdir@/man4/images/ncfile.png \
@abs_top_srcdir@/man4/images/netcdf_architecture.png \
@abs_top_srcdir@/man4/images/pnetcdf.png \
@abs_top_srcdir@/man4/images/deptree.jpg \
@abs_top_srcdir@/man4/images/InstallTreeWindows.jpg
IMAGE_PATH = @abs_top_srcdir@/docs/images/chunking2.png \
@abs_top_srcdir@/docs/images/compatibility3.png \
@abs_top_srcdir@/docs/images/compression.png \
@abs_top_srcdir@/docs/images/groups.png \
@abs_top_srcdir@/docs/images/nc4-model.png \
@abs_top_srcdir@/docs/images/ncatts.png \
@abs_top_srcdir@/docs/images/nc-classic-uml.png \
@abs_top_srcdir@/docs/images/nccoords.png \
@abs_top_srcdir@/docs/images/ncfile.png \
@abs_top_srcdir@/docs/images/netcdf_architecture.png \
@abs_top_srcdir@/docs/images/pnetcdf.png \
@abs_top_srcdir@/docs/images/deptree.jpg \
@abs_top_srcdir@/docs/images/InstallTreeWindows.jpg

# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
Expand Down Expand Up @@ -1114,7 +1114,7 @@ HTML_HEADER =
# that doxygen normally uses.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_FOOTER = @abs_top_srcdir@/man4/footer.html
HTML_FOOTER = @abs_top_srcdir@/docs/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 fine-tune the look of
Expand Down
34 changes: 17 additions & 17 deletions man4/Doxyfile.tutorial.in → docs/Doxyfile.tutorial.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ PROJECT_BRIEF =
# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo
# to the output directory.

PROJECT_LOGO = ../../man4/netcdf-50x50.png
PROJECT_LOGO = ../../docs/netcdf-50x50.png

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
# into which the generated documentation will be written. If a relative path is
Expand Down Expand Up @@ -661,7 +661,7 @@ FILE_VERSION_FILTER =
# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
# tag is left empty.

LAYOUT_FILE = @abs_top_srcdir@/man4/DoxygenLayout.xml
LAYOUT_FILE = @abs_top_srcdir@/docs/DoxygenLayout.xml

# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
# the reference definitions. This must be a list of .bib files. The .bib
Expand Down Expand Up @@ -743,7 +743,7 @@ WARN_LOGFILE =
# spaces.
# Note: If this tag is empty the current directory is searched.

INPUT = @abs_top_srcdir@/man4/tutorial.dox \
INPUT = @abs_top_srcdir@/docs/tutorial.dox \
@abs_top_srcdir@/examples/C/simple_xy_wr.c \
@abs_top_srcdir@/examples/C/simple_xy_rd.c \
@abs_top_srcdir@/examples/C/sfc_pres_temp_wr.c \
Expand Down Expand Up @@ -842,19 +842,19 @@ EXAMPLE_RECURSIVE = NO
# that contain images that are to be included in the documentation (see the
# \image command).

IMAGE_PATH = @abs_top_srcdir@/man4/images/chunking2.png \
@abs_top_srcdir@/man4/images/compatibility3.png \
@abs_top_srcdir@/man4/images/compression.png \
@abs_top_srcdir@/man4/images/groups.png \
@abs_top_srcdir@/man4/images/nc4-model.png \
@abs_top_srcdir@/man4/images/ncatts.png \
@abs_top_srcdir@/man4/images/nc-classic-uml.png \
@abs_top_srcdir@/man4/images/nccoords.png \
@abs_top_srcdir@/man4/images/ncfile.png \
@abs_top_srcdir@/man4/images/netcdf_architecture.png \
@abs_top_srcdir@/man4/images/pnetcdf.png \
@abs_top_srcdir@/man4/images/deptree.jpg \
@abs_top_srcdir@/man4/images/InstallTreeWindows.jpg
IMAGE_PATH = @abs_top_srcdir@/docs/images/chunking2.png \
@abs_top_srcdir@/docs/images/compatibility3.png \
@abs_top_srcdir@/docs/images/compression.png \
@abs_top_srcdir@/docs/images/groups.png \
@abs_top_srcdir@/docs/images/nc4-model.png \
@abs_top_srcdir@/docs/images/ncatts.png \
@abs_top_srcdir@/docs/images/nc-classic-uml.png \
@abs_top_srcdir@/docs/images/nccoords.png \
@abs_top_srcdir@/docs/images/ncfile.png \
@abs_top_srcdir@/docs/images/netcdf_architecture.png \
@abs_top_srcdir@/docs/images/pnetcdf.png \
@abs_top_srcdir@/docs/images/deptree.jpg \
@abs_top_srcdir@/docs/images/InstallTreeWindows.jpg

# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
Expand Down Expand Up @@ -1087,7 +1087,7 @@ HTML_HEADER =
# that doxygen normally uses.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_FOOTER = @abs_top_srcdir@/man4/footer.html
HTML_FOOTER = @abs_top_srcdir@/docs/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 fine-tune the look of
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions man4/Makefile.am → docs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if BUILD_DOCS

# Copy man pages.
#directory = $(top_srcdir)/docs/man/man3/
#dist_man_MANS = $(man4directory)/man_page_1.3 $(directory)/man_page_2.3
#dist_man_MANS = $(docsdirectory)/man_page_1.3 $(directory)/man_page_2.3
# $(directory)/man_page_1.3: doxyfile.stamp
# $(directory)/man_page_2.3: doxyfile.stamp

Expand All @@ -39,9 +39,9 @@ if BUILD_DOCS

all-local: doxyfile.stamp
clean-local:
rm -rf $(top_builddir)/man4/man
rm -rf $(top_builddir)/man4/html
rm -rf $(top_builddir)/man4/latex
rm -rf $(top_builddir)/docs/man
rm -rf $(top_builddir)/docs/html
rm -rf $(top_builddir)/docs/latex
endif

# Timestamp to prevent rebuilds.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion man4/cdl.dox → docs/cdl.dox
Original file line number Diff line number Diff line change
Expand Up @@ -268,4 +268,4 @@ acceptable double constants:
1.d
\endcode

*/
*/
2 changes: 1 addition & 1 deletion man4/cmake_faq.md → docs/cmake_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ Below are a list of commonly-asked questions regarding NetCDF and CMake.
-DHDF5_INCLUDE_DIR=/usr/include/openmpi-x86_64 \

You will, of course, need to use the location of the libraries specific to your development environment.
You will, of course, need to use the location of the libraries specific to your development environment.
File renamed without changes.
2 changes: 1 addition & 1 deletion man4/errors.dox.old → docs/errors.dox.old
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ if (nc_inq(ncid, &ndims, NULL, NULL, NULL))
return SOME_ERROR;
\endcode

*/
*/
2 changes: 1 addition & 1 deletion man4/esg.html → docs/esg.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<html><!-- InstanceBegin template="/Templates/MyUnidata.dwt" codeOutsideHTMLIsLocked="true" -->
<!-- This document is kept in netcdf-c/man4;
<!-- This document is kept in netcdf-c/docs;
it is not normally included in the distribution.
-->
<head>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion libsrc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ENDIF(BUILD_PARALLEL)
# Generate the man page.
IF(NOT MSVC)

FILE(GLOB libsrc_MANPAGE ${CMAKE_SOURCE_DIR}/man4/netcdf.m4)
FILE(GLOB libsrc_MANPAGE ${CMAKE_SOURCE_DIR}/docs/netcdf.m4)
FILE(COPY ${libsrc_MANPAGE} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})

ADD_CUSTOM_TARGET(manpage ALL
Expand Down
2 changes: 1 addition & 1 deletion libsrc/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ARGS_MANPAGE += -DPARALLEL_IO=TRUE
endif

# This rule generates the C manpage.
netcdf.3: $(top_srcdir)/man4/netcdf.m4
netcdf.3: $(top_srcdir)/docs/netcdf.m4
m4 $(M4FLAGS) $(ARGS_MANPAGE) $? >$@ || rm $@


0 comments on commit 05aaa4b

Please sign in to comment.