File: rules

package info (click to toggle)
nvidia-modprobe 570.133.07-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 408 kB
  • sloc: ansic: 2,846; makefile: 91
file content (30 lines) | stat: -rwxr-xr-x 599 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f

#export DH_VERBOSE=1
export NV_VERBOSE=1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/pkg-info.mk

export PREFIX		 = /usr
export DO_STRIP		 =
export CC_ONLY_CFLAGS	 = $(CPPFLAGS)
export HOST_CC_ONLY_CFLAGS	 = $(CPPFLAGS)
export OUTPUTDIR	 = _out/debian

ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
export DEBUG		 = 1
endif


%:
	dh $@

execute_after_dh_fixperms:
	chmod 04755 debian/nvidia-modprobe/usr/bin/nvidia-modprobe

execute_after_dh_auto_clean:
	$(RM) -r _out