[GTK][CMake] Add a 'distcheck' target
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jul 2014 16:13:54 +0000 (16:13 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jul 2014 16:13:54 +0000 (16:13 +0000)
commitaf3137927f7fad9c67afb4833f3ed8efe3881e30
tree44e8bb6f5f9a0dbe6add6fc8f2079381a10e7f98
parent1fbd05b11e3ebff1b242d66f9a3c47f49f6e9eaf
[GTK][CMake] Add a 'distcheck' target
https://bugs.webkit.org/show_bug.cgi?id=130675

.:
Reviewed by Gustavo Noronha Silva.

* Source/PlatformGTK.cmake: Add distcheck target.

Tools:
Patch by Carlos Garcia Campos  <cgarcia@igalia.com> and Martin Robinson <mrobinson@igalia.com> on 2014-07-10
Reviewed by Gustavo Noronha Silva.

Add --check option to make-dist script that builds and installs the tarball.

* gtk/make-dist.py:
(Distcheck.__init__):
(Distcheck.extract_tarball): Extratc the tarball.
(Distcheck.configure): Run cmake.
(Distcheck.configure.create_dir): Helper function to create a directory.
(Distcheck.build): Run make.
(Distcheck.install): Run make install.
(Distcheck.clean): Clean up the extracted tarball.
(Distcheck.check): Run all previous methods in order.
* gtk/manifest.txt: Add missing file.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
Source/PlatformGTK.cmake
Tools/ChangeLog
Tools/gtk/make-dist.py
Tools/gtk/manifest.txt