This file is indexed.

/usr/share/modass/include/common-rules.make is in module-assistant 0.11.4.

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
.NOTPARALLEL:

# THIS RULE IS TO BE IMPLEMENTED BY THE SPECIFIC MAKEFILE
# It should compile the module, install it into the target directory
# structure in debian/ and build the package. Example:
#
#binary-modules:
#	cd driver && $(MAKE) -f ../Makefile.debian
#	mkdir -p debian/$(PKGNAME)/lib/modules/$(KVERS)/kernel/fs
#	cp driver/foo.o debian/$(PKGNAME)/lib/modules/$(KVERS)/kernel/fs/
#	dh_installdocs
#	dh_installmodules
#	dh_installchangelogs 
#	dh_link
#	dh_strip
#	dh_compress
#	dh_fixperms
#	dh_installdeb
#	dh_gencontrol  -- -v$(VERSION)
#	dh_md5sums
#	dh_builddeb --destdir=$(DEB_DESTDIR)

# THIS RULE IS TO BE IMPLEMENTED BY THE SPECIFIC MAKEFILE
# It should clean the source before and after the compilation. Example:
#
#kdist_clean:
# -$(MAKE) $(MFLAGS) debian/rules clean
# rm -rf other.o module.o files driver

# THIS RULE IS TO BE IMPLEMENTED BY THE SPECIFIC MAKEFILE
# The kdist_configure target is called by make-kpkg modules_config. It
# should configure the module so it is ready for compilation (mostly
# useful for calling configure). Example:
#
#kdist_config: prep-deb-files
## maybe assign driver-2.4 or driver-2.6 to driver
#	cp -la driver-$(shell echo $(KVERS) | sed -e 's/\(...\).*/\1/') driver
# cd driver ; ./configure

# Prepares the package for distribution.  Intended for the kernel
# maintainer
kdist: kdist_build genchanges
	$(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules kdist_clean

# the kdist_image target is called by make-kpkg modules_image. It is
# responsible for compiling the module and creating the package. It
# should also clean up after making the module. Please note we use a
# seperate binary-modules target to make testing the package building
# easier, and kdist_build is the rule used by both, kdist and kdist_image
kdist_image: kdist_build
	$(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules kdist_clean

# common build rule for modules
#ifdef ROOT_CMD
kdist_build: 
	$(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules kdist_clean kdist_config binary-modules
#else
#kdist_build: kdist_clean kdist_config binary-modules
#endif

.PHONY: kdist_config kdist_build kdist_image kdist