Ver Fonte

make certain the target directory exists

Eric Andersen há 19 anos atrás
pai
commit
a4c685f165
1 ficheiros alterados com 1 adições e 0 exclusões
  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;