File: rules

package info (click to toggle)
x11proto-core 7.0.26-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,104 kB
  • ctags: 5,455
  • sloc: xml: 24,340; ansic: 5,905; sh: 3,674; cpp: 397; makefile: 69
file content (23 lines) | stat: -rwxr-xr-x 642 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

PACKAGE = x11proto-core-dev

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

# 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/$(PACKAGE) -name '*.xml' -delete
	find debian/tmp/usr/share/doc/$(PACKAGE) -name '*.db' -delete
	find debian/tmp/usr/share/doc/$(PACKAGE) -name '*.ps' -delete
	dh_install --fail-missing

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