From f7095d794ce37272817a9d771f41ec84fcef2818 Mon Sep 17 00:00:00 2001 From: Jules Villard Date: Mon, 24 Aug 2015 11:03:48 -0100 Subject: [PATCH] fix make -C infer/annotations clean clean Summary: also adds these directories and files to .gitignore --- .gitignore | 3 +++ infer/annotations/Makefile | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 3b631b02f..38c0e8439 100644 --- a/.gitignore +++ b/.gitignore @@ -89,4 +89,7 @@ buck-out/ /infer/src/clang/clang_ast_visit.ml /infer/src/clang/clang_ast_main.ml +/infer/annotations/annot_classes/ /infer/annotations/annotations.jar +/infer/annotations/processor_classes/ +/infer/annotations/processor.jar \ No newline at end of file diff --git a/infer/annotations/Makefile b/infer/annotations/Makefile index 08d82a55e..9e1ddced6 100644 --- a/infer/annotations/Makefile +++ b/infer/annotations/Makefile @@ -18,7 +18,7 @@ processor: cd $(PROCESSOR_CLASSES) && cp -r ../resources/META-INF . && jar cvMf processor.jar com META-INF && cp processor.jar ../ clean: - rm -r $(ANNOT_CLASSES) - rm annotations.jar - rm -r $(PROCESSOR_CLASSES) - rm processor.jar + rm -rf $(ANNOT_CLASSES) + rm -f annotations.jar + rm -rf $(PROCESSOR_CLASSES) + rm -f processor.jar