Browse Source

Create $(GISBASE)/include before $(GISBASE)/include/grass (potential parallel make issue)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@31479 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 17 years ago
parent
commit
ac67116a9a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/Makefile

+ 1 - 0
lib/Makefile

@@ -58,6 +58,7 @@ default: headers
 	$(MAKE) subdirs
 	$(MAKE) subdirs
 
 
 headers: 
 headers: 
+	if [ ! -d $(GISBASE)/include ]; then $(MKDIR) $(GISBASE)/include; fi
 	if [ ! -d $(GISBASE)/include/grass ]; then $(MKDIR) $(GISBASE)/include/grass; fi
 	if [ ! -d $(GISBASE)/include/grass ]; then $(MKDIR) $(GISBASE)/include/grass; fi
 	if [ ! -d $(GISBASE)/include/grass/vect ]; then $(MKDIR) $(GISBASE)/include/grass/vect; fi
 	if [ ! -d $(GISBASE)/include/grass/vect ]; then $(MKDIR) $(GISBASE)/include/grass/vect; fi
 	if [ ! -d $(GISBASE)/include/Make ]; then $(MKDIR) $(GISBASE)/include/Make; fi
 	if [ ! -d $(GISBASE)/include/Make ]; then $(MKDIR) $(GISBASE)/include/Make; fi