summaryrefslogtreecommitdiffstats
path: root/java/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'java/Makefile.am')
-rw-r--r--java/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/Makefile.am b/java/Makefile.am
index 24ebfca4..cf2fa6b6 100644
--- a/java/Makefile.am
+++ b/java/Makefile.am
@@ -41,7 +41,8 @@ lasso_wrap.c lasso.java: $(top_srcdir)/swig/Lasso.i
# FIXME There must be a better way to do this with SWIG
$(JAVA_PATH)lasso.java: lasso.java
mkdir -p $(JAVA_PATH)
- test -f $(JAVA_PATH)lasso.java || cp $(srcdir)/*.java $(JAVA_PATH)
+ rm -f $(JAVA_PATH)/*
+ cp $(srcdir)/*.java $(JAVA_PATH)
clean-local:
rm -f *.class