From 3733831cde6030f09b462d548dcc9d4fb70b971e 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62744 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Headers/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Headers/Makefile b/lib/Headers/Makefile index 7af7f0f870..98b82c3980 100644 --- a/lib/Headers/Makefile +++ b/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) -- 2.40.0