File: rules

package info (click to toggle)
apertium-hbs-eng 0.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 44,448 kB
  • sloc: python: 715; xml: 547; makefile: 218; sh: 8
file content (25 lines) | stat: -rwxr-xr-x 564 bytes parent folder | download | duplicates (4)
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
#!/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 $@

override_dh_auto_configure:
	cd $(CURDIR)/apertium-hbs-0.5.0 && autoreconf -fi && ./configure
	dh_auto_configure -- --with-lang1=$(CURDIR)/apertium-hbs-0.5.0

override_dh_auto_build:
	cd $(CURDIR)/apertium-hbs-0.5.0 && $(MAKE) -j$(NUMJOBS)
	dh_auto_build

override_dh_missing:
	dh_missing --fail-missing