summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openwrt/package/ulogd/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/openwrt/package/ulogd/Makefile b/openwrt/package/ulogd/Makefile
index 704b91591f..b3ce9c3536 100644
--- a/openwrt/package/ulogd/Makefile
+++ b/openwrt/package/ulogd/Makefile
@@ -73,15 +73,15 @@ $(PKG_BUILD_DIR)/.configured:
$(ULOGD_MYSQL_OPTION) \
$(ULOGD_PGSQL_OPTION) \
);
- 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
+ all install
+ touch $@
$(IPKG_ULOGD):
install -d -m0755 $(IDIR_ULOGD)/etc