Clean files generated by setup.sh

Summary:public
This may be unnecessary, but I found stale files while debugging and had to ask if they were the problem.

Reviewed By: jvillard

Differential Revision: D3130087

fb-gh-sync-id: d3222c3
fbshipit-source-id: d3222c3
master
Josh Berdine 9 years ago committed by Facebook Github Bot 1
parent 44491679cf
commit 61c5a80567

@ -249,13 +249,37 @@ endif
$(LN_S) $(DESTDIR)$(libdir)/infer/infer/lib/python/inferTraceBugs inferTraceBugs) $(LN_S) $(DESTDIR)$(libdir)/infer/infer/lib/python/inferTraceBugs inferTraceBugs)
clean: clean:
@rm -fv test.xml $(REMOVE) test.xml
ifeq (@BUILD_C_ANALYZERS@,yes) ifeq (@BUILD_C_ANALYZERS@,yes)
$(MAKE) -C $(FCP_DIR) clean $(MAKE) -C $(FCP_DIR) clean
$(MAKE) -C $(FCP_DIR)/clang-ocaml clean $(MAKE) -C $(FCP_DIR)/clang-ocaml clean
endif endif
$(MAKE) -C $(INFER_DIR) clean $(MAKE) -C $(INFER_DIR) clean
conf-clean: clean
$(REMOVE) infer/lib/python/inferlib/*.pyc
$(REMOVE) infer/lib/python/inferlib/*/*.pyc
$(REMOVE) .buckversion
$(REMOVE) Makefile
$(REMOVE) Makefile.config
$(REMOVE) acinclude.m4
$(REMOVE) aclocal.m4
$(REMOVE_DIR) autom4te.cache/
$(REMOVE) config.log
$(REMOVE) config.status
$(REMOVE) configure
$(REMOVE) infer/Makefile
$(REMOVE) infer/models/Makefile
$(REMOVE) infer/models/c/Makefile
$(REMOVE_DIR) infer/models/c/out/
$(REMOVE) infer/models/cpp/Makefile
$(REMOVE_DIR) infer/models/cpp/out/
$(REMOVE) infer/models/java/Makefile
$(REMOVE_DIR) infer/models/java/infer-out/
$(REMOVE) infer/models/objc/Makefile
$(REMOVE_DIR) infer/models/objc/out/
$(REMOVE) infer/src/Makefile
.PHONY: all buck_test buck_test_xml clean clang .PHONY: all buck_test buck_test_xml clean clang
.PHONY: clang_plugin clang_setup inferTraceBugs inferTraceBugs_test java .PHONY: clang_plugin clang_setup inferTraceBugs inferTraceBugs_test java
.PHONY: ocaml_unit_test test test_xml test_build unit .PHONY: ocaml_unit_test test test_xml test_build unit

@ -300,12 +300,14 @@ test_clean:
clean: clean:
$(REMOVE_DIR) $(BUILD_DIR) $(REMOVE_DIR) $(BUILD_DIR)
$(REMOVE) $(ETC_DIR)/clang_ast.dict
ifeq (@ENABLE_OCAML_ANNOT@,yes) ifeq (@ENABLE_OCAML_ANNOT@,yes)
$(REMOVE_DIR) $(ANNOT_DIR) $(REMOVE_DIR) $(ANNOT_DIR)
endif endif
$(REMOVE) backend/version.ml $(REMOVE) backend/version.ml
$(REMOVE) backend/version.ml.tmp.* $(REMOVE) backend/version.ml.tmp.*
$(REMOVE) backend/jsonbug_{j,t}.ml{,i}
$(REMOVE) $(INFERJAVA_BIN) $(INFERCLANG_BIN) $(INFERLLVM_BIN) $(INFERUNIT_BIN) $(REMOVE) $(INFERJAVA_BIN) $(INFERCLANG_BIN) $(INFERLLVM_BIN) $(INFERUNIT_BIN)
$(REMOVE) $(CHECKCOPYRIGHT_BIN) $(REMOVE) $(INFERANALYZE_BIN) $(INFERPRINT_BIN) $(CHECKCOPYRIGHT_BIN)
$(REMOVE) $(CLANG_ATDGEN_STUBS) $(REMOVE) $(CLANG_ATDGEN_STUBS)
$(REMOVE) $(INFER_CLANG_FCP_MIRRORED_FILES) $(REMOVE) $(INFER_CLANG_FCP_MIRRORED_FILES)

Loading…
Cancel
Save