[RocksJava] Make cleanup - Clean Target

- Remove JNI includes on clean
- Remove target folder generated by Maven
- Remove shared object
- Remove jar
This commit is contained in:
fyrz 2014-11-19 21:15:01 +01:00
parent be005e17bb
commit 2cd1794e4f

View File

@ -86,8 +86,13 @@ JAVA_TESTCLASSPATH = $(ROCKSDB_JAR):$(JAVA_JUNIT_JAR):$(JAVA_HAMCR_JAR):$(JAVA_M
clean: clean:
-find . -name "*.class" -exec rm {} \; -find . -name "*.class" -exec rm {} \;
-find . -name "hs*.log" -exec rm {} \; -find . -name "hs*.log" -exec rm {} \;
rm -rf include/*
rm -rf javadoc/* rm -rf javadoc/*
rm -rf test-libs/ rm -rf test-libs/
rm -rf target
rm librocksdbjni*
rm rocksdbjni*
javadocs: javadocs:
mkdir -p javadoc; javadoc -d javadoc -sourcepath . -subpackages org -exclude org.rocksdb.test mkdir -p javadoc; javadoc -d javadoc -sourcepath . -subpackages org -exclude org.rocksdb.test