Ack (finally) name change in subpackages, tweak package build
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 19 May 2005 21:27:20 +0000 (21:27 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 19 May 2005 21:27:20 +0000 (21:27 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@976 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/ulogd/Makefile

index 704b915..b3ce9c3 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
This page took 0.026067 seconds and 4 git commands to generate.