Ack (finally) name change in subpackages, tweak package build
authorNicolas Thill <nico@openwrt.org>
Thu, 19 May 2005 21:27:20 +0000 (21:27 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 19 May 2005 21:27:20 +0000 (21:27 +0000)
SVN-Revision: 976

openwrt/package/ulogd/Makefile

index 704b91591f482fcb98dc50d53efa2a8f9cc5528c..b3ce9c3536c206447d1f7a03edf0fc7d763cfc0c 100644 (file)
@@ -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