Tweak package build
[openwrt.git] / package / siproxd / Makefile
index 035881a..f291bc7 100644 (file)
@@ -46,15 +46,15 @@ $(PKG_BUILD_DIR)/.configured:
                  $(DISABLE_NLS) \
                  --enable-shared \
        );
                  $(DISABLE_NLS) \
                  --enable-shared \
        );
-       touch $(PKG_BUILD_DIR)/.configured
+       touch $@
 
 $(PKG_BUILD_DIR)/.built:
 
 $(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)" \
        mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
-               install
-       touch $(PKG_BUILD_DIR)/.built
+               all install
+       touch $@
 
 $(IPKG_SIPROXD):
        install -d -m0755 $(IDIR_SIPROXD)/etc
 
 $(IPKG_SIPROXD):
        install -d -m0755 $(IDIR_SIPROXD)/etc
This page took 0.031953 seconds and 4 git commands to generate.