Explorar el Código

make certain the target directory exists

Eric Andersen hace 19 años
padre
commit
a4c685f165
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -103,6 +103,7 @@ $(STAGING_DIR):
 	@ln -snf ../lib $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib
 
 $(TARGET_DIR):
+	mkdir -p $(TARGET_DIR)
 	if [ -d "$(TARGET_SKELETON)" ] ; then \
 		cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/; \
 	fi;