This file is indexed.

/usr/share/cdbs/1/class/ant.mk is in cdbs 0.4.150.

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
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2003 Stefan Gybas <sgybas@debian.org>
# Copyright © 2009-2010, 2014, 2016 Jonas Smedegaard <dr@jones.dk>
# Description: Builds and cleans packages which have an Ant build.xml file
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program 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
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

_cdbs_scripts_path ?= /usr/lib/cdbs
_cdbs_rules_path ?= /usr/share/cdbs/1/rules
_cdbs_class_path ?= /usr/share/cdbs/1/class

ifndef _cdbs_class_ant
_cdbs_class_ant = 1

include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
include $(_cdbs_class_path)/ant-vars.mk$(_cdbs_makefile_suffix)

testsanity::
	$(if $(wildcard $(firstword $(JAVACMD))),\
		,\
		$(error You must specify a valid JAVA_HOME or JAVACMD))
	$(if $(wildcard $(ANT_HOME)/lib/ant.jar),\
		,\
		$(error You must specify a valid ANT_HOME directory))

common-build-arch common-build-indep:: debian/stamp-ant-build
debian/stamp-ant-build:
	$(DEB_ANT_INVOKE) $(DEB_ANT_BUILD_TARGET)
	touch debian/stamp-ant-build

clean::
	-$(DEB_ANT_INVOKE) $(DEB_ANT_CLEAN_TARGET)
	rm -f debian/stamp-ant-build

common-install-arch common-install-indep:: common-install-impl
common-install-impl::
	$(if $(DEB_ANT_INSTALL_TARGET),\
		$(DEB_ANT_INVOKE) $(DEB_ANT_INSTALL_TARGET),\
		$(call cdbs_warn,DEB_ANT_INSTALL_TARGET unset$(comma) \
			skipping default ant.mk common-install target))

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
common-build-arch common-build-indep:: debian/stamp-ant-check
debian/stamp-ant-check: debian/stamp-ant-build
	$(if $(DEB_ANT_CHECK_TARGET),\
		$(DEB_ANT_INVOKE) $(DEB_ANT_CHECK_TARGET),\
		$(call cdbs_warn,DEB_ANT_CHECK_TARGET unset$(comma) \
			not running checks))
	touch $@

clean::
	rm -f debian/stamp-ant-check
endif

endif