1# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
2#
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; version 2 of the License.
6#
7# This program is distributed in the hope that it will be useful,
8# but WITHOUT ANY WARRANTY; without even the implied warranty of
9# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10# GNU General Public License for more details.
11#
12# You should have received a copy of the GNU General Public License
13# along with this program; if not, write to the Free Software
14# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1335 USA
15
16
17# The sole purpose of this cmake control file is to create the "INFO_SRC" file.
18
19# As long as and "git pull" (or "git commit") is followed by a "cmake",
20# the call in top level "CMakeLists.txt" is sufficient.
21# This file is to provide a separate target for the "make" phase,
22# to ensure the git commit hash is correct even after a sequence
23#   cmake ; make ; git pull ; make
24
25
26# Get the macros which handle the "INFO_*" files.
27INCLUDE(${CMAKE_BINARY_DIR}/info_macros.cmake)
28
29# Here is where the action is.
30CREATE_INFO_SRC(${CMAKE_BINARY_DIR}/Docs)
31
32