summaryrefslogtreecommitdiff
path: root/openwrt/package/xinetd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/xinetd/Makefile')
-rw-r--r--openwrt/package/xinetd/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/openwrt/package/xinetd/Makefile b/openwrt/package/xinetd/Makefile
index 71b9cf2dea..7dcb20e83e 100644
--- a/openwrt/package/xinetd/Makefile
+++ b/openwrt/package/xinetd/Makefile
@@ -49,15 +49,15 @@ $(PKG_BUILD_DIR)/.configured:
--without-libwrap \
--with-loadavg \
);
- touch $(PKG_BUILD_DIR)/.configured
+ touch $@
$(PKG_BUILD_DIR)/.built:
- $(MAKE) -C $(PKG_BUILD_DIR)
+ rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
- install
- touch $(PKG_BUILD_DIR)/.built
+ build install
+ touch $@
$(IPKG_XINETD):
install -d -m0755 $(IDIR_XINETD)/etc