From 197b13434a83291d212b3b5e26701be6fa0b200d Mon Sep 17 00:00:00 2001 From: Jules Villard Date: Thu, 29 Oct 2015 11:38:43 -0700 Subject: [PATCH] use absolute path for BUILDDIR Summary: public The relative path was triggering a bug in ocamlbuild where it would try to create ".." for some reason, which already exists. Hence `make -C infer clean checkCopyright` would always fail for instance. Reviewed By: jeremydubreil Differential Revision: D2596307 fb-gh-sync-id: 0dd8d9f --- infer/src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer/src/Makefile b/infer/src/Makefile index 6d5d75fbe..61b999d1c 100644 --- a/infer/src/Makefile +++ b/infer/src/Makefile @@ -23,7 +23,7 @@ OCAML_INCLUDE_DIR = $(shell ocamlc -where) ROOT = $(shell cd ../.. && pwd) -BUILDDIR = ../_build-infer +BUILDDIR = $(ROOT)/infer/_build-infer ANNOTDIR = $(ROOT)/infer/src/_build BINDIR = $(ROOT)/infer/bin SCRIPTDIR = $(ROOT)/scripts