subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1539215 - /subversion/trunk/Makefile.in
Date Wed, 06 Nov 2013 02:34:16 GMT
Author: brane
Date: Wed Nov  6 02:34:16 2013
New Revision: 1539215

URL: http://svn.apache.org/r1539215
Log:
Do not delete the JavaHL test dir during "make clean", so that it can be
symlinked into a RAM disk.

* Makefile.in (clean-javahl): Remove the contents of $(javahl_test_rootdir),
   but not the directory itself. Stolen from check-clean.

Modified:
    subversion/trunk/Makefile.in

Modified: subversion/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/subversion/trunk/Makefile.in?rev=1539215&r1=1539214&r2=1539215&view=diff
==============================================================================
--- subversion/trunk/Makefile.in (original)
+++ subversion/trunk/Makefile.in Wed Nov  6 02:34:16 2013
@@ -480,8 +480,11 @@ install-javahl: javahl install-javahl-ja
 javahl-compat: javahl-compat-java @JAVAHL_COMPAT_TESTS_TARGET@
 
 clean-javahl:
+	if [ -d $(javahl_test_rootdir) ]; then \
+	  find $(javahl_test_rootdir) -mindepth 1 -maxdepth 1 \
+               -print0 | xargs -0 rm -rf --;   \
+	fi
 	rm -rf $(javahl_java_PATH) $(javahl_javah_PATH) @JAVAHL_OBJDIR@
-	rm -fr $(javahl_test_rootdir)
 	rm -f $(libsvnjavahl_PATH)/*.la $(JAVAHL_JAR)
 	rm -f $(libsvnjavahl_PATH)/*.lo
 	rm -f $(libsvnjavahl_PATH)/*.o



Mime
View raw message