From: Mike Stump Date: Thu, 22 Jan 2009 02:53:03 +0000 (+0000) Subject: Avoid creating .dir files in the installation area. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3733831cde6030f09b462d548dcc9d4fb70b971e;p=clang 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 --- 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)