fix openswan depend on libgmp
[openwrt.git] / openwrt / package / osiris / Makefile
index ca7056d..b119f6e 100644 (file)
@@ -50,16 +50,16 @@ $(PKG_BUILD_DIR)/.configured:
                  --with-osiris-user=root \
                  --with-root-dir=/var/lib/osiris \
        );
-       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)" \
                INTERACTIVE=0 \
-               install
-       touch $(PKG_BUILD_DIR)/.built
+               all install
+       touch $@
 
 $(IPKG_OSIRISD):
        install -d -m0755 $(IDIR_OSIRISD)/etc/init.d
This page took 0.027824 seconds and 4 git commands to generate.