solenv/bin/update_pch.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
New commits: commit 7ac75351f16358fd0f9d83162eda25cca6de2622 Author: LuboÅ¡ LuÅák <l.lu...@suse.cz> Date: Tue Mar 12 17:23:18 2013 +0100 mention that temporary edits in autogenerated pch headers are ok Change-Id: Ifafa5c8847dec80a3b80afc5e10044f9c1c8d48a diff --git a/solenv/bin/update_pch.sh b/solenv/bin/update_pch.sh index 84ff445..39569f7 100755 --- a/solenv/bin/update_pch.sh +++ b/solenv/bin/update_pch.sh @@ -91,6 +91,13 @@ function list_file_includes() * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +/* + This file has been autogenerated by update_pch.sh . It is possible to edit it + manually (such as when an include file has been moved/renamed/removed. All such + manual changes will be rewritten by the next run of update_pch.sh (which presumably + also fixes all possible problems, so it's usually better to use it). +*/ + EOF # Library_svx needs this (sendreportw32.cxx) commit 2b26ac2efca151ce00af66db9a57eea351fbd947 Author: LuboÅ¡ LuÅák <l.lu...@suse.cz> Date: Tue Mar 12 17:22:32 2013 +0100 do not require full path when passing a pch header file to update Change-Id: Ie1b0588cf6424e836f865cda9d4451aa0e1db32d diff --git a/solenv/bin/update_pch.sh b/solenv/bin/update_pch.sh index fdb17a7a..84ff445 100755 --- a/solenv/bin/update_pch.sh +++ b/solenv/bin/update_pch.sh @@ -7,6 +7,8 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # +# Usage: update_pch.sh [precompiled_xxx.hxx] + root=`dirname $0` root=`cd $root/../.. && pwd` @@ -19,7 +21,7 @@ fi for x in $headers; do header=$x echo updating `echo $header | sed -e s%$root/%%` - module=`echo $header | sed -e s%$root/%% -e s%/.*%%` + module=`readlink -f $header | sed -e s%$root/%% -e s%/.*%%` name=`echo $header | sed -e s/.*precompiled_// -e s/\.hxx//` makefile="Library_$name.mk"
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits