Build the install directories just exactly as any others. Hopefully this
authorReid Spencer <rspencer@reidspencer.com>
Thu, 19 May 2005 20:26:14 +0000 (20:26 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 19 May 2005 20:26:14 +0000 (20:26 +0000)
helps out cygwin build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22140 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 895d0bc101dc3fbaef6e97bee17a1ea214942c01..1f21e5d848e26f07abd5b4264f1312a00ca234bb 100644 (file)
@@ -423,17 +423,10 @@ endif
 # in the file so they get built before dependencies
 #---------------------------------------------------------
 
-$(PROJ_bindir):
-       $(Verb) $(MKDIR) $(PROJ_bindir)
-
-$(PROJ_libdir):
-       $(Verb) $(MKDIR) $(PROJ_libdir)
-
-$(PROJ_includedir):
-       $(Verb) $(MKDIR) $(PROJ_includedir)
-
-$(PROJ_etcdir):
-       $(Verb) $(MKDIR) $(PROJ_etcdir)
+$(PROJ_bindir): $(PROJ_bindir)/.dir
+$(PROJ_libdir): $(PROJ_libdir)/.dir
+$(PROJ_includedir): $(PROJ_includedir)/.dir
+$(PROJ_etcdir): $(PROJ_etcdir)/.dir
 
 # To create other directories, as needed, and timestamp their creation
 %/.dir: