From: Nicolas Thill Date: Wed, 17 May 2006 01:07:20 +0000 (+0000) Subject: fix rebuild of pwlib and openh323 after root_clean. X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c8c1e1372d380db1c58504bdc9a315494eb5a9fd;p=librecmc%2Flibrecmc.git fix rebuild of pwlib and openh323 after root_clean. SVN-Revision: 3791 --- diff --git a/openwrt/package/openh323/Makefile b/openwrt/package/openh323/Makefile index a17ac00999..f85e623b6a 100644 --- a/openwrt/package/openh323/Makefile +++ b/openwrt/package/openh323/Makefile @@ -49,6 +49,7 @@ $(PKG_BUILD_DIR)/.configured: --enable-audio \ --disable-video \ ); + ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME) touch $@ @@ -58,11 +59,8 @@ $(PKG_BUILD_DIR)/.built: optnoshared touch $@ -install-link: - ln -s $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME) - uninstall-link: - rm -rf $(BUILD_DIR)/$(PKG_NAME) + rm -f $(BUILD_DIR)/$(PKG_NAME) -compile-targets: $(PKG_BUILD_DIR)/.built install-link +compile-targets: $(PKG_BUILD_DIR)/.built clean-targets: uninstall-link diff --git a/openwrt/package/pwlib/Makefile b/openwrt/package/pwlib/Makefile index 66e806dc17..68857ff279 100644 --- a/openwrt/package/pwlib/Makefile +++ b/openwrt/package/pwlib/Makefile @@ -88,6 +88,7 @@ $(PKG_BUILD_DIR)/.configured: --disable-wavfile \ --disable-xmlrpc \ ); + ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME) touch $@ $(PKG_BUILD_DIR)/.built: @@ -96,11 +97,8 @@ $(PKG_BUILD_DIR)/.built: optnoshared touch $@ -install-link: - ln -s $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME) - uninstall-link: - rm -rf $(BUILD_DIR)/$(PKG_NAME) + rm -f $(BUILD_DIR)/$(PKG_NAME) -compile-targets: $(PKG_BUILD_DIR)/.built install-link +compile-targets: $(PKG_BUILD_DIR)/.built clean-targets: uninstall-link