File: rules

package info (click to toggle)
xorg-docs 1:1.7.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,240 kB
  • ctags: 37
  • sloc: xml: 21,907; sh: 3,601; makefile: 112
file content (29 lines) | stat: -rwxr-xr-x 711 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
24
25
26
27
28
29
#!/usr/bin/make -f
# debian/rules for the Debian xorg-docs package.

PACKAGE = xorg-docs

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

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-silent-rules \
		--enable-docs \
		--enable-specs \
		--with-xmlto \
		--with-fop

override_dh_auto_install:
	dh_auto_install
	mv debian/tmp/usr/share/man/man7/Standards.7 \
		debian/tmp/usr/share/man/man7/XStandards.7
	mv debian/tmp/usr/share/man/man7/Consortium.7 \
		debian/tmp/usr/share/man/man7/XConsortium.7

override_dh_install:
	find debian/tmp -name '*.xml' -delete
	find debian/tmp -name '*.db' -delete
	dh_install --fail-missing \
		-Xplatforms/Darwin \
		-Xplatforms/Solaris