This file is indexed.

/usr/share/blends-dev/rules is in blends-dev 0.6.16.4ubuntu2.

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

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
#!/usr/bin/make -f

# This is a debian/rules file which builds meta packages
# for a Debian Pure Blend.
#
# Copyright (C) Andreas Tille <tille@debian.org>
# License: GPL

BLENDNAME   := $(shell /usr/share/blends-dev/blend-get-names blendname)
PREFIX      := $(shell /usr/share/blends-dev/blend-get-names metapackageprefix)
BLENDMKFILE := /usr/share/blends-dev/Makefile
BLEND_INSTALL_HELPER := /usr/share/blends-dev/blend-install-helper

TARGET_DIST := $(shell head -1 debian/changelog |awk '{print $$3}'|tr -d ';')
BLEND       := $(shell /usr/share/blends-dev/blend-get-names blendname)
GENCONTROL  := /usr/share/blends-dev/blend-gen-control

VERSION     := $(shell dpkg-parsechangelog -ldebian/changelog | grep Version: | cut -f2 -d' ' | cut -f1 -d- )
DISTDIR     := $(BLENDNAME)-$(VERSION)

all:
	echo $(PREFIX), $(BLENDNAME)

INSTALLREADME := $(shell if test -e README ; then echo "-A README"; fi)

debian/control: 
	$(MAKE) -f $(BLENDMKFILE) debian/control

$(BLEND)-tasks.desc:
	$(MAKE) -f $(BLENDMKFILE) $(BLEND)-tasks.desc

%:
	dh $@

override_dh_install:
	$(BLEND_INSTALL_HELPER)
	dh_install $(BLENDNAME)-tasks.desc usr/share/tasksel/descs

override_dh_installdocs:
	dh_installdocs $(INSTALLREADME)

override_dh_auto_clean:
	# call make clean instead of distclean
	make clean

override_dh_auto_build:
	# do nothing, we just called the make install target in advance
	# and want to build the packages without network access

override_dh_clean:
	# hmmm, that would kill debian/control - so don't do this!
	# $(MAKE) -f $(BLENDMKFILE) clean

	# Clear apt-get cache
	rm -rf tmp
	# Remove backup files from source tarball
	rm -f tasks/*~
	# Remove auto generated post{inst,rm} scripts
	rm -f debian/$(PREFIX)-*.postinst debian/$(PREFIX)-*.prerm debian/$(PREFIX)-*.postrm debian/$(PREFIX)-*.preinst
	# remove auto generated files for config package
	rm -f debian/$(PREFIX)-config.templates debian/$(PREFIX)-config.config \
	      debian/$(PREFIX)-config.install   debian/$(PREFIX)-config.links  \
	      debian/90$(PREFIX)-config
	# remove auto generated debconf template translations
	rm -rf debian/po
	# remove possibly remaining debhelper files
	rm -f debian/$(PREFIX)-*.debhelper.log
	dh_clean

get-orig-source: $(BLEND)-tasks.desc debian/control
	if [ ! -f debian/changelog ] ; then \
	    echo "File debian/changelog is missing. Something is wrong!" ; \
	    exit -1 ; \
	fi
	if [ "$(VERSION)" = "" ] ; then \
	    echo "Unable to obtain version number from debian/changelog. Something is wrong!" ; \
	    exit -1 ; \
	fi ;
	rm -rf $(DISTDIR)
	mkdir $(DISTDIR)
	chmod 777 $(DISTDIR)
	# copy with exception of VCS stuff
	tar -cf - --exclude $(DISTDIR) \
	          --exclude CVS --exclude .svn --exclude svn-commit.tmp --exclude .git . | \
	    (cd $(DISTDIR); tar xfBp -)
	rm -f `find $(DISTDIR) -name "*~"`
	GZIP=-9 tar -czf ../$(BLENDNAME)_$(VERSION).tar.gz $(DISTDIR)
	rm -rf $(DISTDIR)