This file is indexed.

/usr/share/cmake/Modules/ManageRelease.cmake is in cmake-fedora 2.5.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# - Manage release by provides release related targets.
#
# Included Modules:
#   - ManageMessage
#   - ManageVariable
#
#  Defines following functions:
#  MANAGE_RELEASE([<releaseTarget ...>] [DEPENDS <dependFile ...>])
#    - Run release targets.
#      This macro skips the missing targets so distro package maintainers
#      do not have to get the irrelevant dependencies.
#      For the "hard" dependency, use cmake command "ADD_DEPENDENCIES".
#      * Parameters:
#        + releaseTarget ...: Targets to be executed before a release.
#          Note that sequence of the targets does not guarantee the
#          sequence of execution.
#        + DEPENDS dependFile ...: Files that target "release" depends on.
#      * Defines following targets:
#        + release: Perform everything required for a release.
#

IF(DEFINED _MANAGE_RELEASE_CMAKE_)
    RETURN()
ENDIF(DEFINED _MANAGE_RELEASE_CMAKE_)
SET(_MANAGE_RELEASE_CMAKE_ "DEFINED")
INCLUDE(ManageMessage)
INCLUDE(ManageVariable)

FUNCTION(MANAGE_RELEASE)
    SET(_validOptions "DEPENDS")
    VARIABLE_PARSE_ARGN(_o _validOptions ${ARGN})
    SET(_releaseDependOptList "")

    IF(NOT "${_o_DEPENDS}" STREQUAL "")
	SET(_releaseDependOptList DEPENDS ${_o_DEPENDS})
    ENDIF(NOT "${_o_DEPENDS}" STREQUAL "")

    ADD_CUSTOM_TARGET(release
	${_releaseDependOptList}
	COMMENT "release: ${PROJECT_NAME}-${PRJ_VER}"
	)

    IF(TARGET tag)
	ADD_DEPENDENCIES(release tag)
    ENDIF(TARGET tag)

    ## Add dependent targets that actually exists
    SET(_releaseTargets "")
    FOREACH(_target ${_o})
	IF(TARGET ${_target})
	    LIST(APPEND _releaseTargets "${_target}")
	    ## Release targets should be build after target tag
	    ADD_DEPENDENCIES(${_target} tag)
	    ADD_DEPENDENCIES(release ${_target})
	ELSE(TARGET ${_target})
	    M_MSG(${M_OFF} "MANAGE_RELEASE: Target ${_target} does not exist, skipped.")
	ENDIF(TARGET ${_target})
    ENDFOREACH(_target)
ENDFUNCTION(MANAGE_RELEASE)