# Makefile.in generated by automake 1.9.6 from Makefile.am.
# @configure_input@

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005  Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@SET_MAKE@

# Copyright 2005-2006, see the COPYRIGHT file for more information.
# This file builds the netcdf documentation.

# The "all" target does nothing in this directory. The "dist" target
# *does* build the documentation, because the distribution contains
# all of the built documentation.

# $Id: Makefile.am,v 1.38 2007/01/10 15:41:48 ed Exp $

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@

# If utilities are being built, add their man pages.
@BUILD_UTILITIES_TRUE@am__append_1 = ncdump-man-1.html ncgen-man-1.html 

# Add F77 manual if user is building f77 API.
@BUILD_F77_TRUE@am__append_2 = netcdf-f77.texi 
@BUILD_F77_TRUE@am__append_3 = netcdf_f77-man.html

# Add F90 manual if user is building f90 API.
@BUILD_F90_TRUE@am__append_4 = netcdf-f90.texi 
@BUILD_F90_TRUE@am__append_5 = netcdf_f90-man.html

# Add C++ manual if user is building C++ API.
@BUILD_CXX_TRUE@am__append_6 = netcdf-cxx.texi
subdir = man
DIST_COMMON = $(netcdf_TEXINFOS) $(netcdf_c_TEXINFOS) \
	$(netcdf_cxx_TEXINFOS) $(netcdf_f77_TEXINFOS) \
	$(netcdf_f90_TEXINFOS) $(netcdf_install_TEXINFOS) \
	$(netcdf_tutorial_TEXINFOS) $(srcdir)/Makefile.am \
	$(srcdir)/Makefile.in $(srcdir)/stamp-1 $(srcdir)/stamp-2 \
	$(srcdir)/stamp-3 $(srcdir)/stamp-4 $(srcdir)/stamp-5 \
	$(srcdir)/stamp-6 $(srcdir)/stamp-vti $(srcdir)/version-c.texi \
	$(srcdir)/version-cxx.texi $(srcdir)/version-f77.texi \
	$(srcdir)/version-f90.texi $(srcdir)/version-install.texi \
	$(srcdir)/version-tutorial.texi $(srcdir)/version.texi \
	mdate-sh texinfo.tex
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
	$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h \
	$(top_builddir)/fortran/nfconfig1.inc
CONFIG_CLEAN_FILES =
SOURCES =
DIST_SOURCES =
INFO_DEPS = $(srcdir)/netcdf.info $(srcdir)/netcdf-install.info \
	$(srcdir)/netcdf-c.info $(srcdir)/netcdf-tutorial.info \
	$(srcdir)/netcdf-f77.info $(srcdir)/netcdf-f90.info \
	$(srcdir)/netcdf-cxx.info
am__TEXINFO_TEX_DIR = $(srcdir)
DVIS = netcdf.dvi netcdf-install.dvi netcdf-c.dvi netcdf-tutorial.dvi \
	netcdf-f77.dvi netcdf-f90.dvi netcdf-cxx.dvi
PDFS = netcdf.pdf netcdf-install.pdf netcdf-c.pdf netcdf-tutorial.pdf \
	netcdf-f77.pdf netcdf-f90.pdf netcdf-cxx.pdf
PSS = netcdf.ps netcdf-install.ps netcdf-c.ps netcdf-tutorial.ps \
	netcdf-f77.ps netcdf-f90.ps netcdf-cxx.ps
HTMLS = netcdf.html netcdf-install.html netcdf-c.html \
	netcdf-tutorial.html netcdf-f77.html netcdf-f90.html \
	netcdf-cxx.html
TEXINFOS = $(build_texi_files)
TEXI2PDF = $(TEXI2DVI) --pdf --batch
MAKEINFOHTML = $(MAKEINFO) --html
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
DVIPS = dvips
am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(docdir)"
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    *) f=$$p;; \
  esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
docDATA_INSTALL = $(INSTALL_DATA)
DATA = $(doc_DATA)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
ALLOCA = @ALLOCA@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
AR = @AR@
AS = @AS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BUILD_CXX_FALSE = @BUILD_CXX_FALSE@
BUILD_CXX_TRUE = @BUILD_CXX_TRUE@
BUILD_C_FALSE = @BUILD_C_FALSE@
BUILD_C_TRUE = @BUILD_C_TRUE@
BUILD_DLL_FALSE = @BUILD_DLL_FALSE@
BUILD_DLL_TRUE = @BUILD_DLL_TRUE@
BUILD_EXAMPLES_FALSE = @BUILD_EXAMPLES_FALSE@
BUILD_EXAMPLES_TRUE = @BUILD_EXAMPLES_TRUE@
BUILD_F77_FALSE = @BUILD_F77_FALSE@
BUILD_F77_TRUE = @BUILD_F77_TRUE@
BUILD_F90_FALSE = @BUILD_F90_FALSE@
BUILD_F90_TRUE = @BUILD_F90_TRUE@
BUILD_SEPARATE_FORTRAN_FALSE = @BUILD_SEPARATE_FORTRAN_FALSE@
BUILD_SEPARATE_FORTRAN_TRUE = @BUILD_SEPARATE_FORTRAN_TRUE@
BUILD_SHARED_FALSE = @BUILD_SHARED_FALSE@
BUILD_SHARED_TRUE = @BUILD_SHARED_TRUE@
BUILD_UTILITIES_FALSE = @BUILD_UTILITIES_FALSE@
BUILD_UTILITIES_TRUE = @BUILD_UTILITIES_TRUE@
BUILD_V2_FALSE = @BUILD_V2_FALSE@
BUILD_V2_TRUE = @BUILD_V2_TRUE@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
F77 = @F77@
FC = @FC@
FCFLAGS = @FCFLAGS@
FCFLAGS_f90 = @FCFLAGS_f90@
FFLAGS = @FFLAGS@
FGREP = @FGREP@
FTPBINDIR = @FTPBINDIR@
GREP = @GREP@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_DOCS_FALSE = @INSTALL_DOCS_FALSE@
INSTALL_DOCS_TRUE = @INSTALL_DOCS_TRUE@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LARGE_FILE_TESTS_FALSE = @LARGE_FILE_TESTS_FALSE@
LARGE_FILE_TESTS_TRUE = @LARGE_FILE_TESTS_TRUE@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MAKEWHATIS_CMD = @MAKEWHATIS_CMD@
MOD_FLAG = @MOD_FLAG@
NETCDF_C_LIB = @NETCDF_C_LIB@
NM = @NM@
NMFLAGS = @NMFLAGS@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHAREEXT_DYLIB_FALSE = @SHAREEXT_DYLIB_FALSE@
SHAREEXT_DYLIB_TRUE = @SHAREEXT_DYLIB_TRUE@
SHAREEXT_SL_FALSE = @SHAREEXT_SL_FALSE@
SHAREEXT_SL_TRUE = @SHAREEXT_SL_TRUE@
SHELL = @SHELL@
STRIP = @STRIP@
TEST_F77_FALSE = @TEST_F77_FALSE@
TEST_F77_TRUE = @TEST_F77_TRUE@
TEST_PARALLEL_FALSE = @TEST_PARALLEL_FALSE@
TEST_PARALLEL_TRUE = @TEST_PARALLEL_TRUE@
UPPER_CASE_MOD_FALSE = @UPPER_CASE_MOD_FALSE@
UPPER_CASE_MOD_TRUE = @UPPER_CASE_MOD_TRUE@
USE_FFIO_FALSE = @USE_FFIO_FALSE@
USE_FFIO_TRUE = @USE_FFIO_TRUE@
USE_HDF5_DIR_FALSE = @USE_HDF5_DIR_FALSE@
USE_HDF5_DIR_TRUE = @USE_HDF5_DIR_TRUE@
USE_NETCDF4_FALSE = @USE_NETCDF4_FALSE@
USE_NETCDF4_TRUE = @USE_NETCDF4_TRUE@
USE_NETCDF_C_LIB_DIR_FALSE = @USE_NETCDF_C_LIB_DIR_FALSE@
USE_NETCDF_C_LIB_DIR_TRUE = @USE_NETCDF_C_LIB_DIR_TRUE@
VERSION = @VERSION@
WHATIS = @WHATIS@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
ac_ct_F77 = @ac_ct_F77@
ac_ct_FC = @ac_ct_FC@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
prog = @prog@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@

# These are the source files for the netcdf manuals which go with the
# C library.
texi_files = netcdf.texi netcdf-install.texi netcdf-c.texi \
	netcdf-tutorial.texi $(am__append_2) $(am__append_4) \
	$(am__append_6)

# This is the html version of the man page for the C library.
html_mans = netcdf-man-3.html $(am__append_1) $(am__append_3) \
	$(am__append_5)

# Get lists of the coresponding ps, info, and pdf files.
html_docs = ${texi_files:.texi=.html} 
html_dirs = ${texi_files:.texi=} 
ps_docs = ${texi_files:.texi=.ps} 
dvi_docs = ${texi_files:.texi=.dvi} 
pdf_docs = ${texi_files:.texi=.pdf}
info_docs = ${texi_files:.texi=.info}
txt_docs = ${texi_files:.texi=.txt}

# These files will be included with the dist.
EXTRA_DIST = netcdf.m4 $(pdf_docs) $(html_mans) $(txt_docs) $(dvi_docs)	\
$(ps_docs) $(info_docs) $(html_docs)


# If we have not used --enable-build-docs then none of the following
# will get into the make file. This should not be necessary, but is
# because of broken implementations of make on AIX and perhaps other
# platforms.

# Get texi2dvi to shut the hell up!
TEXI2DVI = texi2dvi -s
build_texi_files = $(texi_files)

# These are the texi sources for the manuals.
info_TEXINFOS = $(build_texi_files)

# These will be installed on the user machine. We'll only install one
# version of the html docs, the ones with one page per manual. The
# version with one page per node is just for the netCDF website, so we
# don't ship it or install it.
@INSTALL_DOCS_TRUE@doc_DATA = $(pdf_docs) $(html_mans) $(txt_docs) $(ps_docs)	\
@INSTALL_DOCS_TRUE@$(html_docs) $(info_docs)


# These are lists of the source code which will be inserted into the
# netCDF Tutorial. Note that the tutorial always contains info about
# all 4 APIs, not just the ones that are installed.
c_examples = simple_xy_wr.c simple_xy_rd.c sfc_pres_temp_wr.c	\
sfc_pres_temp_rd.c pres_temp_4D_wr.c pres_temp_4D_rd.c

f77_examples = ${c_examples:.c=.f} 
f90_examples = ${c_examples:.c=.f90} 
cxx_examples = ${c_examples:.c=.cpp} 
cdl_examples = simple_xy.cdl sfc_pres_temp.cdl pres_temp_4D.cdl

# All the documents depend on defines.texi for some common
# definitions.
netcdf_TEXINFOS = defines.texi
netcdf_install_TEXINFOS = defines.texi
netcdf_c_TEXINFOS = defines.texi
netcdf_f77_TEXINFOS = defines.texi
netcdf_f90_TEXINFOS = defines.texi
netcdf_cxx_TEXINFOS = defines.texi
netcdf_tutorial_TEXINFOS = defines.texi ${c_examples} ${f77_examples}	\
${f90_examples} ${cxx_examples} ${cdl_examples}


# To build documentation you must have M4 in the path.
M4 = m4
all: all-am

.SUFFIXES:
.SUFFIXES: .dvi .html .info .pdf .ps .texi .txt
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  man/Makefile'; \
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --foreign  man/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure:  $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:
	-rm -f libtool

.texi.info:
	restore=: && backupdir="$(am__leading_dot)am$$$$" && \
	am__cwd=`pwd` && cd $(srcdir) && \
	rm -rf $$backupdir && mkdir $$backupdir && \
	if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
	  for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
	    if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
	  done; \
	else :; fi && \
	cd "$$am__cwd"; \
	if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
	 -o $@ $<; \
	then \
	  rc=0; \
	  cd $(srcdir); \
	else \
	  rc=$$?; \
	  cd $(srcdir) && \
	  $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
	fi; \
	rm -rf $$backupdir; exit $$rc

.texi.dvi:
	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
	$(TEXI2DVI) $<

.texi.pdf:
	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
	$(TEXI2PDF) $<

.texi.html:
	rm -rf $(@:.html=.htp)
	if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
	 -o $(@:.html=.htp) $<; \
	then \
	  rm -rf $@; \
	  if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
	    mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
	else \
	  if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
	    rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
	  exit 1; \
	fi
$(srcdir)/netcdf.info: netcdf.texi $(srcdir)/version.texi $(netcdf_TEXINFOS)
netcdf.dvi: netcdf.texi $(srcdir)/version.texi $(netcdf_TEXINFOS)
netcdf.pdf: netcdf.texi $(srcdir)/version.texi $(netcdf_TEXINFOS)
$(srcdir)/version.texi:  $(srcdir)/stamp-vti
$(srcdir)/stamp-vti: netcdf.texi $(top_srcdir)/configure
	@(dir=.; test -f ./netcdf.texi || dir=$(srcdir); \
	set `$(SHELL) $(srcdir)/mdate-sh $$dir/netcdf.texi`; \
	echo "@set UPDATED $$1 $$2 $$3"; \
	echo "@set UPDATED-MONTH $$2 $$3"; \
	echo "@set EDITION $(VERSION)"; \
	echo "@set VERSION $(VERSION)") > vti.tmp
	@cmp -s vti.tmp $(srcdir)/version.texi \
	  || (echo "Updating $(srcdir)/version.texi"; \
	      cp vti.tmp $(srcdir)/version.texi)
	-@rm -f vti.tmp
	@cp $(srcdir)/version.texi $@

mostlyclean-vti:
	-rm -f vti.tmp

maintainer-clean-vti:
	-rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
$(srcdir)/netcdf-install.info: netcdf-install.texi $(srcdir)/version-install.texi $(netcdf_install_TEXINFOS)
netcdf-install.dvi: netcdf-install.texi $(srcdir)/version-install.texi $(netcdf_install_TEXINFOS)
netcdf-install.pdf: netcdf-install.texi $(srcdir)/version-install.texi $(netcdf_install_TEXINFOS)
$(srcdir)/version-install.texi:  $(srcdir)/stamp-1
$(srcdir)/stamp-1: netcdf-install.texi $(top_srcdir)/configure
	@(dir=.; test -f ./netcdf-install.texi || dir=$(srcdir); \
	set `$(SHELL) $(srcdir)/mdate-sh $$dir/netcdf-install.texi`; \
	echo "@set UPDATED $$1 $$2 $$3"; \
	echo "@set UPDATED-MONTH $$2 $$3"; \
	echo "@set EDITION $(VERSION)"; \
	echo "@set VERSION $(VERSION)") > 1.tmp
	@cmp -s 1.tmp $(srcdir)/version-install.texi \
	  || (echo "Updating $(srcdir)/version-install.texi"; \
	      cp 1.tmp $(srcdir)/version-install.texi)
	-@rm -f 1.tmp
	@cp $(srcdir)/version-install.texi $@

mostlyclean-1:
	-rm -f 1.tmp

maintainer-clean-1:
	-rm -f $(srcdir)/stamp-1 $(srcdir)/version-install.texi
$(srcdir)/netcdf-c.info: netcdf-c.texi $(srcdir)/version-c.texi $(netcdf_c_TEXINFOS)
netcdf-c.dvi: netcdf-c.texi $(srcdir)/version-c.texi $(netcdf_c_TEXINFOS)
netcdf-c.pdf: netcdf-c.texi $(srcdir)/version-c.texi $(netcdf_c_TEXINFOS)
$(srcdir)/version-c.texi:  $(srcdir)/stamp-2
$(srcdir)/stamp-2: netcdf-c.texi $(top_srcdir)/configure
	@(dir=.; test -f ./netcdf-c.texi || dir=$(srcdir); \
	set `$(SHELL) $(srcdir)/mdate-sh $$dir/netcdf-c.texi`; \
	echo "@set UPDATED $$1 $$2 $$3"; \
	echo "@set UPDATED-MONTH $$2 $$3"; \
	echo "@set EDITION $(VERSION)"; \
	echo "@set VERSION $(VERSION)") > 2.tmp
	@cmp -s 2.tmp $(srcdir)/version-c.texi \
	  || (echo "Updating $(srcdir)/version-c.texi"; \
	      cp 2.tmp $(srcdir)/version-c.texi)
	-@rm -f 2.tmp
	@cp $(srcdir)/version-c.texi $@

mostlyclean-2:
	-rm -f 2.tmp

maintainer-clean-2:
	-rm -f $(srcdir)/stamp-2 $(srcdir)/version-c.texi
$(srcdir)/netcdf-tutorial.info: netcdf-tutorial.texi $(srcdir)/version-tutorial.texi $(netcdf_tutorial_TEXINFOS)
netcdf-tutorial.dvi: netcdf-tutorial.texi $(srcdir)/version-tutorial.texi $(netcdf_tutorial_TEXINFOS)
netcdf-tutorial.pdf: netcdf-tutorial.texi $(srcdir)/version-tutorial.texi $(netcdf_tutorial_TEXINFOS)
$(srcdir)/version-tutorial.texi:  $(srcdir)/stamp-3
$(srcdir)/stamp-3: netcdf-tutorial.texi $(top_srcdir)/configure
	@(dir=.; test -f ./netcdf-tutorial.texi || dir=$(srcdir); \
	set `$(SHELL) $(srcdir)/mdate-sh $$dir/netcdf-tutorial.texi`; \
	echo "@set UPDATED $$1 $$2 $$3"; \
	echo "@set UPDATED-MONTH $$2 $$3"; \
	echo "@set EDITION $(VERSION)"; \
	echo "@set VERSION $(VERSION)") > 3.tmp
	@cmp -s 3.tmp $(srcdir)/version-tutorial.texi \
	  || (echo "Updating $(srcdir)/version-tutorial.texi"; \
	      cp 3.tmp $(srcdir)/version-tutorial.texi)
	-@rm -f 3.tmp
	@cp $(srcdir)/version-tutorial.texi $@

mostlyclean-3:
	-rm -f 3.tmp

maintainer-clean-3:
	-rm -f $(srcdir)/stamp-3 $(srcdir)/version-tutorial.texi
$(srcdir)/netcdf-f77.info: netcdf-f77.texi $(srcdir)/version-f77.texi $(netcdf_f77_TEXINFOS)
netcdf-f77.dvi: netcdf-f77.texi $(srcdir)/version-f77.texi $(netcdf_f77_TEXINFOS)
netcdf-f77.pdf: netcdf-f77.texi $(srcdir)/version-f77.texi $(netcdf_f77_TEXINFOS)
$(srcdir)/version-f77.texi:  $(srcdir)/stamp-4
$(srcdir)/stamp-4: netcdf-f77.texi $(top_srcdir)/configure
	@(dir=.; test -f ./netcdf-f77.texi || dir=$(srcdir); \
	set `$(SHELL) $(srcdir)/mdate-sh $$dir/netcdf-f77.texi`; \
	echo "@set UPDATED $$1 $$2 $$3"; \
	echo "@set UPDATED-MONTH $$2 $$3"; \
	echo "@set EDITION $(VERSION)"; \
	echo "@set VERSION $(VERSION)") > 4.tmp
	@cmp -s 4.tmp $(srcdir)/version-f77.texi \
	  || (echo "Updating $(srcdir)/version-f77.texi"; \
	      cp 4.tmp $(srcdir)/version-f77.texi)
	-@rm -f 4.tmp
	@cp $(srcdir)/version-f77.texi $@

mostlyclean-4:
	-rm -f 4.tmp

maintainer-clean-4:
	-rm -f $(srcdir)/stamp-4 $(srcdir)/version-f77.texi
$(srcdir)/netcdf-f90.info: netcdf-f90.texi $(srcdir)/version-f90.texi $(netcdf_f90_TEXINFOS)
netcdf-f90.dvi: netcdf-f90.texi $(srcdir)/version-f90.texi $(netcdf_f90_TEXINFOS)
netcdf-f90.pdf: netcdf-f90.texi $(srcdir)/version-f90.texi $(netcdf_f90_TEXINFOS)
$(srcdir)/version-f90.texi:  $(srcdir)/stamp-5
$(srcdir)/stamp-5: netcdf-f90.texi $(top_srcdir)/configure
	@(dir=.; test -f ./netcdf-f90.texi || dir=$(srcdir); \
	set `$(SHELL) $(srcdir)/mdate-sh $$dir/netcdf-f90.texi`; \
	echo "@set UPDATED $$1 $$2 $$3"; \
	echo "@set UPDATED-MONTH $$2 $$3"; \
	echo "@set EDITION $(VERSION)"; \
	echo "@set VERSION $(VERSION)") > 5.tmp
	@cmp -s 5.tmp $(srcdir)/version-f90.texi \
	  || (echo "Updating $(srcdir)/version-f90.texi"; \
	      cp 5.tmp $(srcdir)/version-f90.texi)
	-@rm -f 5.tmp
	@cp $(srcdir)/version-f90.texi $@

mostlyclean-5:
	-rm -f 5.tmp

maintainer-clean-5:
	-rm -f $(srcdir)/stamp-5 $(srcdir)/version-f90.texi
$(srcdir)/netcdf-cxx.info: netcdf-cxx.texi $(srcdir)/version-cxx.texi $(netcdf_cxx_TEXINFOS)
netcdf-cxx.dvi: netcdf-cxx.texi $(srcdir)/version-cxx.texi $(netcdf_cxx_TEXINFOS)
netcdf-cxx.pdf: netcdf-cxx.texi $(srcdir)/version-cxx.texi $(netcdf_cxx_TEXINFOS)
$(srcdir)/version-cxx.texi:  $(srcdir)/stamp-6
$(srcdir)/stamp-6: netcdf-cxx.texi $(top_srcdir)/configure
	@(dir=.; test -f ./netcdf-cxx.texi || dir=$(srcdir); \
	set `$(SHELL) $(srcdir)/mdate-sh $$dir/netcdf-cxx.texi`; \
	echo "@set UPDATED $$1 $$2 $$3"; \
	echo "@set UPDATED-MONTH $$2 $$3"; \
	echo "@set EDITION $(VERSION)"; \
	echo "@set VERSION $(VERSION)") > 6.tmp
	@cmp -s 6.tmp $(srcdir)/version-cxx.texi \
	  || (echo "Updating $(srcdir)/version-cxx.texi"; \
	      cp 6.tmp $(srcdir)/version-cxx.texi)
	-@rm -f 6.tmp
	@cp $(srcdir)/version-cxx.texi $@

mostlyclean-6:
	-rm -f 6.tmp

maintainer-clean-6:
	-rm -f $(srcdir)/stamp-6 $(srcdir)/version-cxx.texi
.dvi.ps:
	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
	$(DVIPS) -o $@ $<

uninstall-info-am:
	@$(PRE_UNINSTALL)
	@if (install-info --version && \
	     install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
	  list='$(INFO_DEPS)'; \
	  for file in $$list; do \
	    relfile=`echo "$$file" | sed 's|^.*/||'`; \
	    echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
	    install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
	  done; \
	else :; fi
	@$(NORMAL_UNINSTALL)
	@list='$(INFO_DEPS)'; \
	for file in $$list; do \
	  relfile=`echo "$$file" | sed 's|^.*/||'`; \
	  relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
	  (if cd "$(DESTDIR)$(infodir)"; then \
	     echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \
	     rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
	   else :; fi); \
	done

dist-info: $(INFO_DEPS)
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
	list='$(INFO_DEPS)'; \
	for base in $$list; do \
	  case $$base in \
	    $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
	  esac; \
	  if test -f $$base; then d=.; else d=$(srcdir); fi; \
	  for file in $$d/$$base*; do \
	    relfile=`expr "$$file" : "$$d/\(.*\)"`; \
	    test -f $(distdir)/$$relfile || \
	      cp -p $$file $(distdir)/$$relfile; \
	  done; \
	done

mostlyclean-aminfo:
	-rm -rf netcdf.aux netcdf.cp netcdf.cps netcdf.fn netcdf.ky netcdf.kys \
	  netcdf.log netcdf.pg netcdf.pgs netcdf.tmp netcdf.toc \
	  netcdf.tp netcdf.tps netcdf.vr netcdf.dvi netcdf.pdf \
	  netcdf.ps netcdf.html netcdf-install.aux netcdf-install.cp \
	  netcdf-install.cps netcdf-install.fn netcdf-install.ky \
	  netcdf-install.kys netcdf-install.log netcdf-install.pg \
	  netcdf-install.pgs netcdf-install.tmp netcdf-install.toc \
	  netcdf-install.tp netcdf-install.tps netcdf-install.vr \
	  netcdf-install.dvi netcdf-install.pdf netcdf-install.ps \
	  netcdf-install.html netcdf-c.aux netcdf-c.cp netcdf-c.cps \
	  netcdf-c.fn netcdf-c.ky netcdf-c.kys netcdf-c.log \
	  netcdf-c.pg netcdf-c.pgs netcdf-c.tmp netcdf-c.toc \
	  netcdf-c.tp netcdf-c.tps netcdf-c.vr netcdf-c.dvi \
	  netcdf-c.pdf netcdf-c.ps netcdf-c.html netcdf-tutorial.aux \
	  netcdf-tutorial.cp netcdf-tutorial.cps netcdf-tutorial.fn \
	  netcdf-tutorial.ky netcdf-tutorial.kys netcdf-tutorial.log \
	  netcdf-tutorial.pg netcdf-tutorial.pgs netcdf-tutorial.tmp \
	  netcdf-tutorial.toc netcdf-tutorial.tp netcdf-tutorial.tps \
	  netcdf-tutorial.vr netcdf-tutorial.dvi netcdf-tutorial.pdf \
	  netcdf-tutorial.ps netcdf-tutorial.html netcdf-f77.aux \
	  netcdf-f77.cp netcdf-f77.cps netcdf-f77.fn netcdf-f77.ky \
	  netcdf-f77.kys netcdf-f77.log netcdf-f77.pg netcdf-f77.pgs \
	  netcdf-f77.tmp netcdf-f77.toc netcdf-f77.tp netcdf-f77.tps \
	  netcdf-f77.vr netcdf-f77.dvi netcdf-f77.pdf netcdf-f77.ps \
	  netcdf-f77.html netcdf-f90.aux netcdf-f90.cp netcdf-f90.cps \
	  netcdf-f90.fn netcdf-f90.ky netcdf-f90.kys netcdf-f90.log \
	  netcdf-f90.pg netcdf-f90.pgs netcdf-f90.tmp netcdf-f90.toc \
	  netcdf-f90.tp netcdf-f90.tps netcdf-f90.vr netcdf-f90.dvi \
	  netcdf-f90.pdf netcdf-f90.ps netcdf-f90.html netcdf-cxx.aux \
	  netcdf-cxx.cp netcdf-cxx.cps netcdf-cxx.fn netcdf-cxx.ky \
	  netcdf-cxx.kys netcdf-cxx.log netcdf-cxx.pg netcdf-cxx.pgs \
	  netcdf-cxx.tmp netcdf-cxx.toc netcdf-cxx.tp netcdf-cxx.tps \
	  netcdf-cxx.vr netcdf-cxx.dvi netcdf-cxx.pdf netcdf-cxx.ps \
	  netcdf-cxx.html

maintainer-clean-aminfo:
	@list='$(INFO_DEPS)'; for i in $$list; do \
	  i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
	  echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
	  rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
	done
install-docDATA: $(doc_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
	@list='$(doc_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f=$(am__strip_dir) \
	  echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
	  $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
	done

uninstall-docDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(doc_DATA)'; for p in $$list; do \
	  f=$(am__strip_dir) \
	  echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
	  rm -f "$(DESTDIR)$(docdir)/$$f"; \
	done
tags: TAGS
TAGS:

ctags: CTAGS
CTAGS:


distdir: $(DISTFILES)
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
	list='$(DISTFILES)'; for file in $$list; do \
	  case $$file in \
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
	  esac; \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    dir="/$$dir"; \
	    $(mkdir_p) "$(distdir)$$dir"; \
	  else \
	    dir=''; \
	  fi; \
	  if test -d $$d/$$file; then \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
	$(MAKE) $(AM_MAKEFLAGS) \
	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
	  dist-info
check-am: all-am
check: check-am
all-am: Makefile $(INFO_DEPS) $(DATA)
installdirs:
	for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(docdir)"; do \
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
	done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
clean: clean-am

clean-am: clean-generic clean-libtool mostlyclean-am

distclean: distclean-am
	-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-libtool

dvi: dvi-am

dvi-am: $(DVIS)

html: html-am

html-am: $(HTMLS)

info: info-am

info-am: $(INFO_DEPS)

install-data-am: install-docDATA install-info-am

install-exec-am:

install-info: install-info-am

install-info-am: $(INFO_DEPS)
	@$(NORMAL_INSTALL)
	test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
	list='$(INFO_DEPS)'; \
	for file in $$list; do \
	  case $$file in \
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
	  esac; \
	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
	  file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
	  for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
                       $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
	    if test -f $$ifile; then \
	      relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
	      echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
	      $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
	    else : ; fi; \
	  done; \
	done
	@$(POST_INSTALL)
	@if (install-info --version && \
	     install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
	  list='$(INFO_DEPS)'; \
	  for file in $$list; do \
	    relfile=`echo "$$file" | sed 's|^.*/||'`; \
	    echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
	    install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
	  done; \
	else : ; fi
install-man:

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-1 \
	maintainer-clean-2 maintainer-clean-3 maintainer-clean-4 \
	maintainer-clean-5 maintainer-clean-6 maintainer-clean-aminfo \
	maintainer-clean-generic maintainer-clean-vti

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-1 mostlyclean-2 mostlyclean-3 \
	mostlyclean-4 mostlyclean-5 mostlyclean-6 mostlyclean-aminfo \
	mostlyclean-generic mostlyclean-libtool mostlyclean-vti

pdf: pdf-am

pdf-am: $(PDFS)

ps: ps-am

ps-am: $(PSS)

uninstall-am: uninstall-docDATA uninstall-info-am

.PHONY: all all-am check check-am clean clean-generic clean-libtool \
	dist-info distclean distclean-generic distclean-libtool \
	distdir dvi dvi-am html html-am info info-am install \
	install-am install-data install-data-am install-docDATA \
	install-exec install-exec-am install-info install-info-am \
	install-man install-strip installcheck installcheck-am \
	installdirs maintainer-clean maintainer-clean-1 \
	maintainer-clean-2 maintainer-clean-3 maintainer-clean-4 \
	maintainer-clean-5 maintainer-clean-6 maintainer-clean-aminfo \
	maintainer-clean-generic maintainer-clean-vti mostlyclean \
	mostlyclean-1 mostlyclean-2 mostlyclean-3 mostlyclean-4 \
	mostlyclean-5 mostlyclean-6 mostlyclean-aminfo \
	mostlyclean-generic mostlyclean-libtool mostlyclean-vti pdf \
	pdf-am ps ps-am uninstall uninstall-am uninstall-docDATA \
	uninstall-info-am


# Rule to generate the ASCII text copies of the documentation.
.texi.txt: 
	makeinfo -o $*.txt --no-headers $(srcdir)/$<

# Generate the HTML version of the netcdf-3 C man page.
netcdf-man-3.html: $(top_srcdir)/libsrc/netcdf.3
	groff -man -Thtml $? > $@

# Generate the HTML version of the netcdf-3 F77 man page.
netcdf_f77-man.html: $(top_srcdir)/fortran/netcdf_f77.3
	groff -man -Thtml $? > $@

# Generate the HTML version of the netcdf-3 F90 man page.
netcdf_f90-man.html: $(top_srcdir)/f90/netcdf_f90.3
	groff -man -Thtml $? > $@

# Generate the HTML version of the ncgen man page.
ncgen-man-1.html: $(top_srcdir)/ncgen/ncgen.1
	groff -man -Thtml $? > $@

# Generate the HTML version of the ncdump man page.
ncdump-man-1.html: $(top_srcdir)/ncdump/ncdump.1
	groff -man -Thtml $? > $@

# Slightly modified copies of all the example programs are created in
# this directory, so that they can be included in the tutorial. To
# work within texinfo, all } must be changed to @}, and { to
# @{. (Because otherwise teinfo will eat the curly brakets in the
# code.) This requires sed.

# Copy C examples to this directory.
${c_examples}:
	sed -e 's/{/@{/' -e 's/}/@}/' $(top_srcdir)/examples/C/$@ > $@

# Copy F77 examples to this directory.
${f77_examples}:
	sed -e 's/{/@{/' -e 's/}/@}/' $(top_srcdir)/examples/F77/$@ > $@

# Copy F90 examples to this directory.
${f90_examples}:
	sed -e 's/{/@{/' -e 's/}/@}/' $(top_srcdir)/examples/F90/$@ > $@

# Copy CXX examples to this directory.
${cxx_examples}:
	sed -e 's/{/@{/' -e 's/}/@}/' $(top_srcdir)/examples/CXX/$@ > $@

# Copy CDL examples to this directory.
${cdl_examples}:
	sed -e 's/{/@{/' -e 's/}/@}/' $(top_srcdir)/examples/CDL/$@ > $@

# Automake 1.9.6 changed the naming of html output directories. These
# makefile targets override automake and get the old naming scheme,
# which is really more useful for us. But if the automake team
# persists with these cahnges, then one day I'll change over too.
netcdf.html: netcdf.texi defines.texi
	$(MAKEINFO) --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf.texi
	$(MAKEINFO) --no-split --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf.texi

netcdf-install.html: netcdf-install.texi defines.texi
	$(MAKEINFO) --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf-install.texi
	$(MAKEINFO) --no-split --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf-install.texi

netcdf-c.html: netcdf-c.texi defines.texi
	$(MAKEINFO) --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf-c.texi
	$(MAKEINFO) --no-split --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf-c.texi

netcdf-f77.html: netcdf-f77.texi defines.texi
	$(MAKEINFO) --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf-f77.texi
	$(MAKEINFO) --no-split --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf-f77.texi

netcdf-cxx.html: netcdf-cxx.texi defines.texi
	$(MAKEINFO) --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf-cxx.texi
	$(MAKEINFO) --no-split --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf-cxx.texi

netcdf-f90.html: netcdf-f90.texi defines.texi
	$(MAKEINFO) --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf-f90.texi
	$(MAKEINFO) --no-split --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf-f90.texi

netcdf-tutorial.html: netcdf-tutorial.texi defines.texi
	$(MAKEINFO) --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf-tutorial.texi
	$(MAKEINFO) --no-split --html $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I$(srcdir) netcdf-tutorial.texi

# This builds the docs from source, if necessary, and tars up
# everything needed for the website. Run this and copy the resulting
# tarball to the /contents/netcdf/docs directory to update the on-line
# docs.
web-tarball: $(pdf_docs) $(html_mans) $(txt_docs) $(dvi_docs) $(ps_docs) $(info_docs) $(html_docs)
	tar cf netcdf_info.tar *.info*
	gzip -f netcdf_info.tar
	zip netcdf_info *.info
	tar cf netcdf_pdf.tar *.pdf
	gzip -f netcdf_pdf.tar
	zip netcdf_pdf *.pdf
	tar cf netcdf_html.tar $(html_dirs)
	gzip -f netcdf_html.tar
	zip netcdf_html $(html_dirs)
	tar cf netcdf_txt.tar *.txt
	gzip -f netcdf_txt.tar
	zip netcdf_txt *.txt
	cp $(top_srcdir)/ncdump/ncdump.1 .
	cp $(top_srcdir)/ncgen/ncgen.1 .
	cp $(top_srcdir)/libsrc/netcdf.3 .
	cp $(top_srcdir)/fortran/netcdf_f77.3 .
	cp $(top_srcdir)/f90/netcdf_f90.3 .
	tar cf netcdf_man.tar netcdf.3 netcdf_f77.3 netcdf_f90.3 ncdump.1 ncgen.1
	gzip -f netcdf_man.tar
	zip netcdf_man netcdf.3 netcdf_f77.3 netcdf_f90.3 ncdump.1 ncgen.1
	tar cf netcdf_docs.tar $(html_dirs) *.pdf *.txt *.html *.tar.gz *.zip 
	gzip -f netcdf_docs.tar

# Clean up all the junk we created!
# MAINTAINERCLEANFILES = $(ps_docs) $(pdf_docs) $(txt_docs) $(info_docs)		\
# $(html_docs) $(man_MANS) ${c_examples} ${f77_examples} ${f90_examples}	\
# ${cxx_examples} ${cdl_examples} *.1 *.3 ncdump-man-1.html		\
# ncgen-man-1.html netcdf_f77-man.html netcdf-man-3.html			\
# netcdf_f90-man.html stamp-* version*
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
