summaryrefslogtreecommitdiffstats
path: root/c++
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 /c++
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 'c++')
-rw-r--r--c++/config/commence.in2
-rw-r--r--c++/examples/Makefile.in2
2 files changed, 1 insertions, 3 deletions
diff --git a/c++/config/commence.in b/c++/config/commence.in
index 8efa81b..8f63096 100644
--- a/c++/config/commence.in
+++ b/c++/config/commence.in
@@ -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=
diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in
index 3c872b6..8c08e2e 100644
--- a/c++/examples/Makefile.in
+++ b/c++/examples/Makefile.in
@@ -21,8 +21,6 @@ srcdir=@srcdir@
@COMMENCE@
-EXAMPLEDIR=$(docdir)/hdf5/examples/c++
-
hdf5_srcdir=$(top_srcdir)/src
hdf5_builddir=$(top_builddir)/src