Be sure things are built and installed just once

This commit is contained in:
Eric Andersen 2003-01-15 10:41:02 +00:00
parent 4edbe2caa6
commit 9a9de8dec9

View File

@ -30,6 +30,7 @@ $(AUTOMAKE_DIR)/.configured: $(AUTOMAKE_DIR)/.unpacked
$(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY): $(AUTOMAKE_DIR)/.configured
$(MAKE) CC=$(TARGET_CC1) -C $(AUTOMAKE_DIR)
touch -c $(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY)
$(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY): $(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY)
PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC1) \
@ -48,6 +49,7 @@ $(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY): $(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY)
includedir=$(TARGET_DIR)/usr/include \
-C $(AUTOMAKE_DIR) install;
rm -rf $(TARGET_DIR)/share/locale
touch -c $(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY)
automake: uclibc $(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY)