summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-05-08 23:19:15 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-05-08 23:19:15 (GMT)
commitc390d06017bb7700f116b4d7523d586f5f9e6a9a (patch)
treef6871a9f2bd4c870120d8cbd27038dd95997894c /fortran
parent6af5ba7c56b5af9ba9fe168c8d5889cdf2ad9433 (diff)
downloadhdf5-c390d06017bb7700f116b4d7523d586f5f9e6a9a.zip
hdf5-c390d06017bb7700f116b4d7523d586f5f9e6a9a.tar.gz
hdf5-c390d06017bb7700f116b4d7523d586f5f9e6a9a.tar.bz2
[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:
Diffstat (limited to 'fortran')
-rw-r--r--fortran/config/commence.in2
-rw-r--r--fortran/examples/Makefile.in2
2 files changed, 1 insertions, 3 deletions
diff --git a/fortran/config/commence.in b/fortran/config/commence.in
index 5a05221..6abbfc5 100644
--- a/fortran/config/commence.in
+++ b/fortran/config/commence.in
@@ -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=
diff --git a/fortran/examples/Makefile.in b/fortran/examples/Makefile.in
index cc58f15..601d51a 100644
--- a/fortran/examples/Makefile.in
+++ b/fortran/examples/Makefile.in
@@ -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