Name xorgproto
Description
Version
Package Base
Homepage
Maintainers ['Debian X Strike Force <debian-x@lists.debian.org>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/xorgproto/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/xorgproto/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xorgproto/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/xorgproto/plain/debian/watch?h=ubuntu/noble']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'quilt', 'xutils-dev', 'pkg-config', 'xmlto', 'xorg-sgml-doctools', 'w3m', 'xsltproc']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash
#!/usr/bin/make -f

PACKAGE = x11proto-dev
PKGVER = $(shell dpkg-parsechangelog -S Version)

# Build html and txt only:
override_dh_auto_configure:
	dh_auto_configure -- \
		--docdir=\$${prefix}/share/doc/$(PACKAGE) \
		--libdir=\$${prefix}/lib \
		--with-xmlto

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

# Forget no-one:
override_dh_install:
	find debian/tmp/usr/share/doc/ -name '*.db' -delete
	find debian/tmp/usr/share/doc/ -name '*.html' -delete
	find debian/tmp/usr/share/doc/ -name '*.ps' -delete
	find debian/tmp/usr/share/doc/ -name '*.svg' -delete
	find debian/tmp/usr/share/doc/ -name '*.xml' -delete

	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_gencontrol:
	dh_gencontrol -px11proto-render-dev    -- -v2:$(PKGVER)
	dh_gencontrol --remaining-packages

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