Merge pull request #1607 from mike-lischke/master

Some deployment changes because of license file changes.
This commit is contained in:
Terence Parr 2017-01-22 12:42:33 -08:00 committed by GitHub
commit e1c51d367e
2 changed files with 15 additions and 2 deletions

View File

@ -107,5 +107,13 @@ if (WITH_DEMO)
add_subdirectory(demo) add_subdirectory(demo)
endif(WITH_DEMO) endif(WITH_DEMO)
install(FILES License.txt README.md VERSION if( EXISTS LICENSE.txt)
install(FILES LICENSE.txt
DESTINATION "share/doc/libantlr4") DESTINATION "share/doc/libantlr4")
elseif(EXISTS ../../LICENSE.txt)
install(FILES ../../LICENSE.txt
DESTINATION "share/doc/libantlr4")
endif()
install(FILES README.md VERSION
DESTINATION "share/doc/libantlr4")

View File

@ -2,8 +2,13 @@
# Zip it # Zip it
rm -f antlr4-cpp-runtime-source.zip rm -f antlr4-cpp-runtime-source.zip
zip -r antlr4-cpp-runtime-source.zip "README.md" "cmake" "demo" "runtime" "CMakeLists.txt" "License.txt" "deploy-macos.sh" "deploy-source.sh" "deploy-windows.cmd" "VERSION" \ zip -r antlr4-cpp-runtime-source.zip "README.md" "cmake" "demo" "runtime" "CMakeLists.txt" "deploy-macos.sh" "deploy-source.sh" "deploy-windows.cmd" "VERSION" \
-X -x "*.DS_Store*" "antlrcpp.xcodeproj/xcuserdata/*" "*Build*" "*DerivedData*" "*.jar" "demo/generated/*" "*.vscode*" "runtime/build/*" -X -x "*.DS_Store*" "antlrcpp.xcodeproj/xcuserdata/*" "*Build*" "*DerivedData*" "*.jar" "demo/generated/*" "*.vscode*" "runtime/build/*"
# Add the license file from the ANTLR root as well.
pushd ../../
zip runtime/cpp/antlr4-cpp-runtime-source.zip LICENSE.txt
popd
# Deploy # Deploy
#cp antlr4-cpp-runtime-source.zip ~/antlr/sites/website-antlr4/download #cp antlr4-cpp-runtime-source.zip ~/antlr/sites/website-antlr4/download