From f7444aa8df50bf31c254947ede411a4b1bcc73d6 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Thu, 22 Jan 2009 02:53:03 +0000 Subject: [PATCH] Avoid creating .dir files in the installation area. llvm-svn: 62744 --- clang/lib/Headers/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clang/lib/Headers/Makefile b/clang/lib/Headers/Makefile index 7af7f0f87004..98b82c398033 100644 --- a/clang/lib/Headers/Makefile +++ b/clang/lib/Headers/Makefile @@ -32,7 +32,10 @@ PROJ_headers := $(DESTDIR)$(PROJ_prefix)/Headers INSTHEADERS := $(addprefix $(PROJ_headers)/, $(HEADERS)) -$(INSTHEADERS): $(PROJ_headers)/%.h: $(HeaderDir)/%.h $(PROJ_headers)/.dir +$(PROJ_headers): + $(Verb) $(MKDIR) $@ + +$(INSTHEADERS): $(PROJ_headers)/%.h: $(HeaderDir)/%.h | $(PROJ_headers) $(Verb) $(DataInstall) $< $(PROJ_headers) install-local:: $(INSTHEADERS)