File: rules

package info (click to toggle)
foma 1%3A0.9.18%2Br243-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 876 kB
  • sloc: ansic: 13,797; lex: 1,390; yacc: 315; python: 274; perl: 147; makefile: 103; javascript: 42
file content (27 lines) | stat: -rwxr-xr-x 564 bytes parent folder | download
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
#!/usr/bin/make -f
# -*- makefile -*-

# This has to be exported to make some magic below work.
export DH_OPTIONS

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@ --no-parallel

override_dh_auto_configure:
	touch NEWS
	dh_auto_configure

override_dh_auto_install:
	dh_auto_install

	# Remove libtool-like files
	rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la
	rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.a

override_dh_missing:
	dh_missing --fail-missing