diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-01-31 21:48:22 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-01-31 21:48:22 (GMT) |
commit | 22767f7e3f8933feec1a017529519fceeb67233b (patch) | |
tree | 6a65145c824ac93a6a26289b97b0cfebbdaf5fbd /Utilities/Release/Cygwin/cygwin-package.sh.in | |
parent | 94550852ebbe63ea4be3f34521f7095e8ec26660 (diff) | |
download | CMake-22767f7e3f8933feec1a017529519fceeb67233b.zip CMake-22767f7e3f8933feec1a017529519fceeb67233b.tar.gz CMake-22767f7e3f8933feec1a017529519fceeb67233b.tar.bz2 |
ENH: add support files for cpack cygwin setup package stuff
Diffstat (limited to 'Utilities/Release/Cygwin/cygwin-package.sh.in')
-rwxr-xr-x | Utilities/Release/Cygwin/cygwin-package.sh.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Utilities/Release/Cygwin/cygwin-package.sh.in b/Utilities/Release/Cygwin/cygwin-package.sh.in new file mode 100755 index 0000000..0ce7b7e --- /dev/null +++ b/Utilities/Release/Cygwin/cygwin-package.sh.in @@ -0,0 +1,13 @@ +tdir=`pwd` +tar xvfj @CYGWIN_SRC_PACKAGE_NAME@.tar.bz2 && +cd @CYGWIN_SRC_PACKAGE_NAME@ && +mkdir .build && +cd .build && +../bootstrap --parallel=2 && +make -j2 && +make test && +./bin/cpack && +./bin/cpack --config CPackSourceConfig.cmake + +mv @CYGWIN_SRC_PACKAGE_NAME@-@CPACK_CYGWIN_PATCH_NUMBER@-src.tar.bz2 "$tdir" +mv @CYGWIN_PACKAGE_NAME@-@CPACK_CYGWIN_PATCH_NUMBER@.tar.bz2 "$tdir" |