File: rules

package info (click to toggle)
xserver-xorg-video-glide 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,656 kB
  • sloc: sh: 11,332; ansic: 684; makefile: 39
file content (29 lines) | stat: -rwxr-xr-x 700 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

override_dh_clean:
	dh_clean
	rm -f autogen.sh

# Use glide3 explicitly:
override_dh_auto_configure:
	dh_auto_configure -- \
		--with-glide-include-dir=/usr/include/glide3 \
		--disable-silent-rules CFLAGS="$(shell dpkg-buildflags --get CFLAGS)"

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

# Kill *.la files, and forget no-one:
override_dh_install:
	find debian/tmp -name '*.la' -delete
	dh_install

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

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