File: rules

package info (click to toggle)
xserver-xorg-video-nouveau 1%3A1.0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,896 kB
  • sloc: ansic: 23,656; sh: 4,194; makefile: 214
file content (31 lines) | stat: -rwxr-xr-x 818 bytes parent folder | download
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
#!/usr/bin/make -f

export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)

# Needed to find ChangeLog, and for verbose build logs:
override_dh_auto_configure:
	dh_auto_configure -- CURDIR="$(CURDIR)" \
			     --disable-silent-rules \
			     --libdir=/usr/lib

# Install in debian/tmp to retain control through dh_install:
override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp

# Kill *.la files:
override_dh_install:
	find debian/tmp -name '*.la' -delete
	dh_install

# Forget no-one:
override_dh_missing:
	dh_missing --fail-missing

# That's a plugin, use appropriate warning level:
override_dh_shlibdeps:
	dh_shlibdeps -- --warnings=6

%:
	dh $@ --with quilt,xsf --builddirectory=build/