make $(TARGET_DIR)/sbin at install time. make TARGET_DIR=arptables-pkg arptables...
authorNed Ludd <solar@gentoo.org>
Sun, 30 May 2004 16:23:00 +0000 (16:23 +0000)
committerNed Ludd <solar@gentoo.org>
Sun, 30 May 2004 16:23:00 +0000 (16:23 +0000)
SVN-Revision: 43

obsolete-buildroot/make/arptables.mk

index bd4c6af4bad1872aa4e0649ee4f4a3ef236a845e..4b9508fbc1dc3300b421fb76707b35e83712b60d 100644 (file)
@@ -32,6 +32,7 @@ $(ARPTABLES_BUILD_DIR)/$(ARPTABLES_NAME): $(ARPTABLES_BUILD_DIR)/.configured
                CC=$(TARGET_CC) COPT_FLAGS="$(TARGET_CFLAGS)"
 
 $(TARGET_DIR)/sbin/$(ARPTABLES_NAME): $(ARPTABLES_BUILD_DIR)/$(ARPTABLES_NAME)
+       mkdir -p $(TARGET_DIR)/sbin/
        cp $(ARPTABLES_BUILD_DIR)/$(ARPTABLES_NAME) $(TARGET_DIR)/sbin/$(ARPTABLES_NAME)
        $(STRIP) $(TARGET_DIR)/sbin/$(ARPTABLES_NAME)