File: rules

package info (click to toggle)
mxml 2.10-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,640 kB
  • ctags: 689
  • sloc: ansic: 8,919; xml: 1,551; makefile: 276; sh: 195; cpp: 178
file content (17 lines) | stat: -rwxr-xr-x 433 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

%:
	dh $@ --parallel

override_dh_auto_configure:
	dh_auto_configure -- \
		--host=$(DEB_HOST_GNU_TYPE) \
		--build=$(DEB_BUILD_GNU_TYPE) \
		--prefix=/usr \
		--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
		--mandir=\$${prefix}/share/man \
		--infodir=\$${prefix}/share/info

override_dh_auto_install:
	$(MAKE) BUILDROOT=$(CURDIR)/debian/tmp install
	cp debian/mxml.man ./debian/tmp/usr/share/man/man3/mxml.3