From bb1457c1b1f5a0eee2433a79cad1105e5a860b8c Mon Sep 17 00:00:00 2001 From: Alex Lin Date: Thu, 21 May 2015 16:57:20 -0500 Subject: [PATCH] Remove java class files when making an rpm. Added a makefile rule that only removes the intermediate java class files when we are cleaning out stuff for an rpm. fixes #61. --- Makefile | 1 + trick_source/java/makefile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 68bbc0dc..e202e2fa 100644 --- a/Makefile +++ b/Makefile @@ -353,6 +353,7 @@ clean_stand_alone_utils: clean_stand_alone: clean_stand_alone_utils clean_objs_for_rpm: clean_sim_serv clean_er7_utils clean_utils + @ $(MAKE) -C ${TRICK_HOME}/trick_source/java clean_obj clean_gui: clean_java diff --git a/trick_source/java/makefile b/trick_source/java/makefile index aadfef33..c99c9622 100644 --- a/trick_source/java/makefile +++ b/trick_source/java/makefile @@ -60,5 +60,8 @@ clean: rm -rf ${RESOURCES_DIR} rm -rf ${TEST_REPORTS_DIR} +clean_obj: + rm -rf ${BUILD_DIR} + clean_docs: rm -rf ${DOCS_API_DIR}