File debian.rules of Package xserver-xorg-video-nested

#!/usr/bin/make -f

# Configure xorg-module-dir correctly
override_dh_auto_configure:
	dh_auto_configure -- \
            --with-xorg-module-dir=/usr/lib/xorg/modules

# 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 --fail-missing

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

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