X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/a085d1b724e03a7a40102f6ccbbc3900d3378fb4..c3b88d8b5e47898e1941074d62ad7e979b42bad9:/package/ssmtp/Makefile?ds=sidebyside diff --git a/package/ssmtp/Makefile b/package/ssmtp/Makefile index 0db7149d6..3204ca878 100644 --- a/package/ssmtp/Makefile +++ b/package/ssmtp/Makefile @@ -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)