summaryrefslogtreecommitdiffstats
path: root/java/test
diff options
context:
space:
mode:
Diffstat (limited to 'java/test')
-rw-r--r--java/test/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/test/Makefile.am b/java/test/Makefile.am
index d294d46..9f29f1c 100644
--- a/java/test/Makefile.am
+++ b/java/test/Makefile.am
@@ -23,10 +23,10 @@ include $(top_srcdir)/config/commence.am
# Mark this directory as part of the JNI API
JAVA_API=yes
-JAVAROOT = $(top_builddir)/.classes
+JAVAROOT = .classes
classes:
- $(MKDIR_P) $(@D)/$(JAVAROOT)
+ test -d $(@D)/$(JAVAROOT) || $(MKDIR_P) $(@D)/$(JAVAROOT)
pkgpath = test
hdfjarfile = jar$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).jar
@@ -96,7 +96,7 @@ AllJunitTests :
chmod +x $@
clean:
- rm -rf $(JAVAROOT)
+ rm -rf $(JAVAROOT)/*
rm -f $(jarfile)
rm -f classnoinst.stamp