This file is indexed.

/usr/share/doc/libgtkada-doc/examples/Makefile is in libgtkada-doc 2.24.1-14.

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
#include ../src/Makefile.common

examples=$(prefix)/share/examples/gtkada/

ifeq (${OS},Windows_NT)
DIRSEP=;
else
DIRSEP=:
endif

# Some examples are build with project files, others with gtkada-config, so
# we modify the following two environment variables so that the GtkAda version
# we just installed can be used to compile the examples
export ADA_PROJECT_PATH:=${prefix}/lib/gnat${DIRSEP}${ADA_PROJECT_PATH}
export PATH:=${prefix}/bin:${PATH}

DIRECTORIES=base_widget \
  composite_widget      \
  doublebuffer          \
  documentation         \
  dynamic_cast          \
  gtk_examples          \
  tutorial              \
  handlers		\
  powergnu		\
  images                \
  cursors               \
  user_data

TUTORIAL_DIRS=tutorial/gtkdial \
  tutorial/helloworld  \
  tutorial/helloworld2 \
  tutorial/packbox     \
  tutorial/simple      \
  tutorial/table       \
  tutorial/tictactoe

SHELL=sh

all: ${DIRECTORIES}
	@for file in ${DIRECTORIES}; do \
	  make -C $${file} all || exit 1; \
	done

install:
	mkdir -p "${DESTDIR}$(examples)"
	-for dir in ${DIRECTORIES} ${TUTORIAL_DIRS}; do \
	  mkdir -p "${DESTDIR}$(examples)/$${dir}"; \
	  rm -f $${dir}/b~*; \
	  cp -p $${dir}/*.ad? $${dir}/*.gpr "${DESTDIR}$(examples)/$${dir}" 2>/dev/null; \
	  cp -p $${dir}/Makefile "${DESTDIR}$(examples)/$${dir}" 2>/dev/null; \
	  cp -p $${dir}/README "${DESTDIR}$(examples)/$${dir}" 2>/dev/null; \
	done

clean::
	@for file in ${DIRECTORIES}; do \
	  make -C $${file} clean; \
	done