copy-includes: no longer putting psol in source control

This commit is contained in:
Jeff Kaufman
2013-04-29 09:45:32 -04:00
parent 85a36b8133
commit 7b78855cc1
+6 -8
View File
@@ -22,7 +22,8 @@
# Must be run from ngx_pagespeed checkout
#
# Copies headers and a few source files from a depot_tools (glient) checkout
# into this repo.
# into psol/include, deleting and recreating it. Along with creating binaries,
# this is a step in preparing psol.tar.gz for distribution.
#
set -u # check for undefined variables
@@ -47,7 +48,7 @@ if [ "$(basename "$(dirname "$MOD_PAGESPEED_SRC")")/$( \
fi
# Copy over the .h files, plus a few selected .cc and .c files.
git rm -r psol/include/
rm -r psol/include/
rsync -arvz "$MOD_PAGESPEED_SRC/" "psol/include/" --prune-empty-dirs \
--exclude=".svn" \
--exclude=".git" \
@@ -61,17 +62,14 @@ rsync -arvz "$MOD_PAGESPEED_SRC/" "psol/include/" --prune-empty-dirs \
--include="loopback_route_fetcher.cc" \
--include="add_headers_fetcher.cc" \
--exclude='*'
git add psol/include/
# Log that we did this.
SVN_REVISION="$(svn info $MOD_PAGESPEED_SRC | grep Revision | awk '{print $2}')"
DATE="$(date +%F)"
echo "${DATE}: Updated from mod_pagespeed r${SVN_REVISION} ($USER)" >> \
psol/include_history.txt
git add psol/include_history.txt
echo
echo "Verify that the copy looks good and then run:"
echo " git commit -m 'psol: updating from r${SVN_REVISION}'"
echo
echo "You should also commit rebuilt binaries."
echo "Output is in psol/include. Now put binaries in psol/lib following"
echo "https://github.com/pagespeed/ngx_pagespeed/wiki/Building-Release-Binaries"
echo "and then you can distribute PSOL."