Fixed typo, closes #294
[openwrt.git] / openwrt / package / ssmtp / Makefile
index 0db7149..3204ca8 100644 (file)
@@ -20,7 +20,7 @@ BR2_PACKAGE_SSMTP=m
 
 $(eval $(call PKG_template,SSMTP,ssmtp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
-$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
+$(PKG_BUILD_DIR)/.configured:
        (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS)" \
@@ -49,7 +49,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
        );
        touch $@
 
-$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
+$(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
                all
        touch $@
@@ -59,7 +59,7 @@ $(IPKG_SSMTP):
        install -m0644 $(PKG_BUILD_DIR)/ssmtp.conf $(IDIR_SSMTP)/etc/ssmtp/
        install -m0644 $(PKG_BUILD_DIR)/revaliases $(IDIR_SSMTP)/etc/ssmtp/
        install -m0755 -d $(IDIR_SSMTP)/usr/sbin
-       cp -fpR $(PKG_BUILD_DIR)/ssmtp $(IDIR_SSMTP)/usr/sbin/
+       $(CP) $(PKG_BUILD_DIR)/ssmtp $(IDIR_SSMTP)/usr/sbin/
        ln -sf ssmtp $(IDIR_SSMTP)/usr/sbin/sendmail
        $(RSTRIP) $(IDIR_SSMTP)
        $(IPKG_BUILD) $(IDIR_SSMTP) $(PACKAGE_DIR)
This page took 0.024946 seconds and 4 git commands to generate.