diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-05-15 17:30:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-05-15 17:30:59 +0000 |
commit | 845b50baacd13cb56fbaf14050681d2c86dcb524 (patch) | |
tree | 6895a29d7f1b8ba9926c2d91b18dbd00bce02f07 /openwrt/package/monit/Makefile | |
parent | bdf6be91cfeb1670f36e42e6d86bc4e31d0fa939 (diff) | |
download | mtk-20170518-845b50baacd13cb56fbaf14050681d2c86dcb524.zip mtk-20170518-845b50baacd13cb56fbaf14050681d2c86dcb524.tar.gz mtk-20170518-845b50baacd13cb56fbaf14050681d2c86dcb524.tar.bz2 |
fix monit build
SVN-Revision: 911
Diffstat (limited to 'openwrt/package/monit/Makefile')
-rw-r--r-- | openwrt/package/monit/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/openwrt/package/monit/Makefile b/openwrt/package/monit/Makefile index df51b3d..269c9b8 100644 --- a/openwrt/package/monit/Makefile +++ b/openwrt/package/monit/Makefile @@ -12,7 +12,6 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install include $(TOPDIR)/package/rules.mk @@ -48,10 +47,6 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared $(PKG_BUILD_DIR)/.built: $(MAKE) -C $(PKG_BUILD_DIR) - mkdir -p $(PKG_INSTALL_DIR) - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - install touch $(PKG_BUILD_DIR)/.built $(IPKG_MONIT): @@ -60,6 +55,6 @@ $(IPKG_MONIT): install -d -m0755 $(IDIR_MONIT)/etc/init.d install -m0755 ./files/monit.init $(IDIR_MONIT)/etc/init.d/monit install -d -m0755 $(IDIR_MONIT)/usr/sbin - cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/monit $(IDIR_MONIT)/usr/sbin/ - $(RSTRIP) $(IDIR_MONIT) + cp -fpR $(PKG_BUILD_DIR)/monit $(IDIR_MONIT)/usr/sbin/ + $(STRIP) $(IDIR_MONIT)/usr/sbin/monit $(IPKG_BUILD) $(IDIR_MONIT) $(PACKAGE_DIR) |