make certain the target directory exists

This commit is contained in:
Eric Andersen 2006-11-15 21:00:07 +00:00
parent ba70f94e62
commit a4c685f165

View File

@ -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;