File: rules

package info (click to toggle)
apertium 3.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,908 kB
  • sloc: cpp: 27,401; ansic: 5,231; xml: 2,457; sh: 1,554; lex: 1,141; makefile: 591; python: 434; awk: 24
file content (23 lines) | stat: -rwxr-xr-x 588 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
#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE=1
export DH_OPTIONS
export LC_ALL=C.UTF-8

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --fail-missing --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --disable-static

override_dh_auto_install:
	dh_auto_install
	chmod +x $(CURDIR)/debian/tmp/usr/share/apertium/apertium-createmodes.awk
	find $(CURDIR) -type f -name '*.la' -exec rm -f '{}' \;
	#Remove duplicate README
	rm -f $(CURDIR)/debian/tmp/usr/share/apertium/modes/README