Преглед изворни кода

HADOOP-3335. Prevent the libhdfs build from deleting the wrong
files on make clean. Contributed by Doug Cutting.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@653611 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley пре 17 година
родитељ
комит
7a6c33575c
3 измењених фајлова са 3 додато и 10 уклоњено
  1. 3 0
      CHANGES.txt
  2. 0 7
      build.xml
  3. 0 3
      src/c++/libhdfs/Makefile

+ 3 - 0
CHANGES.txt

@@ -159,6 +159,9 @@ Trunk (unreleased changes)
     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

+ 0 - 7
build.xml

@@ -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}">

+ 0 - 3
src/c++/libhdfs/Makefile

@@ -68,9 +68,6 @@ $(HDFS_READ_TEST): hdfs_read.c
 $(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