File: rules

package info (click to toggle)
apertium-afr-nld 0.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 4,228 kB
  • sloc: xml: 352; makefile: 224; sh: 92
file content (33 lines) | stat: -rwxr-xr-x 857 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
28
29
30
31
32
33
#!/usr/bin/make -f
# -*- makefile -*-

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

NUMJOBS = 1
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
endif

%:
	dh $@ --with autoreconf

override_dh_auto_test:
	# Disable test for now

override_dh_auto_configure:
	cd $(CURDIR)/apertium-afr-0.2.0 && autoreconf -fi && ./configure
	cd $(CURDIR)/apertium-nld-0.2.0 && autoreconf -fi && ./configure
	dh_auto_configure -- --with-lang1=$(CURDIR)/apertium-afr-0.2.0 --with-lang2=$(CURDIR)/apertium-nld-0.2.0

override_dh_auto_build:
	cd $(CURDIR)/apertium-afr-0.2.0 && $(MAKE) -j$(NUMJOBS)
	cd $(CURDIR)/apertium-nld-0.2.0 && $(MAKE) -j$(NUMJOBS)
	dh_auto_build

override_dh_missing:
	dh_missing --fail-missing

override_dh_installchangelogs:
	dh_installchangelogs -k NEWS