This file is indexed.

/usr/share/doc/libplplot12/examples/octave/CMakeLists.txt is in octave-plplot 5.10.0+dfsg-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
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# examples/octave/CMakeLists.txt for PLplot
###
### Process this file with cmake to produce Makefile
###
# Copyright (C) 2006 Alan W. Irwin
#
# This file is part of PLplot.
#
# PLplot is free software; you can redistribute it and/or modify
# it under the terms of the GNU Library General Public License as published
# by the Free Software Foundation; version 2 of the License.
#
# PLplot is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public License
# along with PLplot; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA

# N.B. This file is used for both the core build (which installs the examples
# and optionally [depending on BUILD_TEST} builds them) and the installed
# examples build.  The core build has BUILD_TEST OFF or ON at user option
# and CORE_BUILD always ON.  The installed examples build always has
# BUILD_TEST ON and CORE_BUILD OFF.

set(examples_octave
  p1.m
  p2.m
  p3.m
  p4.m
  p5.m
  p6.m
  p7.m
  p8.m
  p9.m
  p10.m
  p11.m
  p12.m
  p13.m
  p14.m
  p15.m
  p16.m
  p17.m
  p18.m
  p19.m
  p20.m
  p21.m
  x00c.m
  x01c.m
  x02c.m
  x03c.m
  x04c.m
  x05c.m
  x06c.m
  x07c.m
  x08c.m
  x09c.m
  x10c.m
  x11c.m
  x12c.m
  x13c.m
  x14c.m
  x15c.m
  x16c.m
  x17c.m
  x18c.m
  x19c.m
  x20c.m
  x21c.m
  x22c.m
  x23c.m
  x24c.m
  x25c.m
  x26c.m
  x27c.m
  x28c.m
  x29c.m
  x30c.m
  x31c.m
  x33c.m
  plplot_octave_demo.m
  lena.img
  )

if(BUILD_TEST)

  set(full_examples_octave)
  foreach(example ${examples_octave})
    list(APPEND full_examples_octave ${CMAKE_CURRENT_SOURCE_DIR}/${example})
  endforeach(example ${examples_octave})

  if(CORE_BUILD)
    get_property(files_plplot_stub.m_built GLOBAL PROPERTY FILES_plplot_stub.m_built)
    set_property(GLOBAL PROPERTY TARGETS_examples_octave 
      plplot_octave plplot_stub.m_built
      )
    set_property(GLOBAL PROPERTY FILES_examples_octave 
      ${full_examples_octave} ${files_plplot_stub.m_built}
      )
  else(CORE_BUILD)
    # For this case, the (custom) target plplot_stub.m_built and its
    # associated file dependencies, files_plplot_stub.m_built are not
    # defined.  
    set_property(GLOBAL PROPERTY TARGETS_examples_octave 
      plplot_octave
      )
    set_property(GLOBAL PROPERTY FILES_examples_octave 
      ${full_examples_octave}
      )
  endif(CORE_BUILD)
endif(BUILD_TEST)

if(CORE_BUILD)
  install(FILES ${examples_octave} DESTINATION ${DATA_DIR}/examples/octave)

  install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/lena.img
    DESTINATION ${DATA_DIR}/examples
    )
  install(FILES CMakeLists.txt 
    DESTINATION ${DATA_DIR}/examples/octave
    )
endif(CORE_BUILD)