[svn-r6842] Purpose:

Code Cleanup

Description:
    Warning messages were being produced by the "make" program because
    the "docdir" was being specified twice as a target in the generated
    Makefiles. This is because the "EXAMPLESDIR" was also defined as
    "docdir".

Solution:
    Made "EXAMPLESDIR" unique for C, Fortran, and C++ in the commence.in
    file and removed EXAMPLESDIR from the Makefile.ins

Platforms tested:
    Dangermouse (only affects make system, not code).

Misc. update:
This commit is contained in:
Bill Wendling 2003-05-08 18:19:15 -05:00
parent 6af5ba7c56
commit c390d06017
6 changed files with 3 additions and 9 deletions

View File

@ -61,7 +61,7 @@ LT_UNINSTALL=$(LT) --mode=uninstall $(RM)
## complains if it sees a reference to a variable which has never been
## defined. The main makefile is free to redefine these to something else.
DOCDIR=$(docdir)
EXAMPLEDIR=$(docdir)
EXAMPLEDIR=$(docdir)/hdf5/examples/c++
LIB=
LIB_SRC=
LIB_OBJ=

View File

@ -21,8 +21,6 @@ srcdir=@srcdir@
@COMMENCE@
EXAMPLEDIR=$(docdir)/hdf5/examples/c++
hdf5_srcdir=$(top_srcdir)/src
hdf5_builddir=$(top_builddir)/src

View File

@ -59,7 +59,7 @@ LT_UNINSTALL=$(LT) --mode=uninstall $(RM)
## defined. The main makefile is free to redefine these to something else.
DOCDIR=$(docdir)
SUBDOCDIR=
EXAMPLEDIR=$(docdir)
EXAMPLEDIR=$(docdir)/hdf5/examples/c
LIB=
LIB_SRC=
LIB_OBJ=

View File

@ -17,8 +17,6 @@ top_builddir=..
srcdir=@srcdir@
@COMMENCE@
EXAMPLEDIR=$(docdir)/hdf5/examples/c
## Replace building CC with the just installed h5cc
CC=$(bindir)/h5cc
CPPFLAGS=-I. -I$(srcdir)

View File

@ -69,7 +69,7 @@ LT_LINK_FEXE=$(LT) --mode=link $(F9X) $(LT_STATIC_EXEC) $(DYNAMIC_DIRS)
## complains if it sees a reference to a variable which has never been
## defined. The main makefile is free to redefine these to something else.
DOCDIR=$(docdir)
EXAMPLEDIR=$(docdir)
EXAMPLEDIR=$(docdir)/hdf5/examples/fortran
LIB=
LIB_SRC=
LIB_OBJ=

View File

@ -17,8 +17,6 @@ top_builddir=../..
srcdir=@srcdir@
@COMMENCE@
EXAMPLEDIR=$(docdir)/hdf5/examples/fortran
hdf5_builddir=$(top_builddir)/src
## Replace building FC with the just installed h5fc