Author: omalley
Date: Mon May  5 14:46:47 2008
New Revision: 653611

URL: http://svn.apache.org/viewvc?rev=653611&view=rev
Log:
HADOOP-3335. Prevent the libhdfs build from deleting the wrong
files on make clean. Contributed by Doug Cutting.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/build.xml
    hadoop/core/trunk/src/c++/libhdfs/Makefile

Modified: hadoop/core/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=653611&r1=653610&r2=653611&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Mon May  5 14:46:47 2008
@@ -159,6 +159,9 @@
     HADOOP-2294. Fix documentation in libhdfs to refer to the correct free
     function. (Craig Macdonald via cdouglas)
 
+    HADOOP-3335. Prevent the libhdfs build from deleting the wrong
+    files on make clean. (cutting via omalley)
+
 Release 0.17.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/core/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/hadoop/core/trunk/build.xml?rev=653611&r1=653610&r2=653611&view=diff
==============================================================================
--- hadoop/core/trunk/build.xml (original)
+++ hadoop/core/trunk/build.xml Mon May  5 14:46:47 2008
@@ -934,13 +934,6 @@
                <arg value="test"/>
     </exec>
   </target>
-       
-  <target name="clean-libhdfs">
-    <exec dir="${libhdfs.src}" executable="${make.cmd}">
-      <env key="LIBHDFS_BUILD_DIR" value="${build.libhdfs}"/>
-       <arg value="clean"/>
-    </exec>
-  </target>
 
   <target name="doc-libhdfs" depends="compile-libhdfs">
        <exec dir="${libhdfs.src}" executable="${make.cmd}">

Modified: hadoop/core/trunk/src/c++/libhdfs/Makefile
URL: 
http://svn.apache.org/viewvc/hadoop/core/trunk/src/c%2B%2B/libhdfs/Makefile?rev=653611&r1=653610&r2=653611&view=diff
==============================================================================
--- hadoop/core/trunk/src/c++/libhdfs/Makefile (original)
+++ hadoop/core/trunk/src/c++/libhdfs/Makefile Mon May  5 14:46:47 2008
@@ -68,9 +68,6 @@
 $(HDFS_WRITE_TEST): hdfs_write.c
        $(CC) $(CPPFLAGS) $< -Wl,-rpath,. -L$(LIBHDFS_BUILD_DIR) -l$(LIB_NAME) 
-o $@
 
-clean:
-       $(RM) $(LIBHDFS_BUILD_DIR)/* 
-
 doc:
        $(DOXYGEN) docs/Doxyfile
 


Reply via email to