Explorar o código

make certain the target directory exists

Eric Andersen %!s(int64=19) %!d(string=hai) anos
pai
achega
a4c685f165
Modificáronse 1 ficheiros con 1 adicións e 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;