Always use -R flag with cp (to preserve symlinks)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1175 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Nicolas Thill
2005-06-08 19:54:05 +00:00
parent d2f3ffea41
commit ac0919773c
11 changed files with 33 additions and 33 deletions

View File

@@ -61,7 +61,7 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBSPEEX):
install -d -m0755 $(IDIR_LIBSPEEX)/usr/lib
cp -fp $(PKG_INSTALL_DIR)/usr/lib/libspeex.so.* $(IDIR_LIBSPEEX)/usr/lib/
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libspeex.so.* $(IDIR_LIBSPEEX)/usr/lib/
$(RSTRIP) $(IDIR_LIBSPEEX)
$(IPKG_BUILD) $(IDIR_LIBSPEEX) $(PACKAGE_DIR)
@@ -69,9 +69,9 @@ $(STAGING_DIR)/usr/lib/libspeex.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
cp -fpR $(PKG_INSTALL_DIR)/usr/include/speex $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
cp -fp $(PKG_INSTALL_DIR)/usr/lib/libspeex.{a,so*} $(STAGING_DIR)/usr/lib/
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libspeex.{a,so*} $(STAGING_DIR)/usr/lib/
mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig
cp -fp $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/speex.pc $(STAGING_DIR)/usr/lib/pkgconfig/
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/speex.pc $(STAGING_DIR)/usr/lib/pkgconfig/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libspeex.so