| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
export DH_OPTIONS |
| 6 |
export LC_ALL=C.UTF-8 |
| 7 |
|
| 8 |
NUMJOBS = 1 |
| 9 |
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) |
| 10 |
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) |
| 11 |
endif |
| 12 |
|
| 13 |
%: |
| 14 |
dh $@ |
| 15 |
|
| 16 |
override_dh_auto_test: |
| 17 |
|
| 18 |
|
| 19 |
override_dh_auto_configure: |
| 20 |
cd $(CURDIR)/apertium-cat-2.12.0 && autoreconf -fi && ./configure |
| 21 |
cd $(CURDIR)/apertium-ita-1.4.0 && autoreconf -fi && ./configure |
| 22 |
dh_auto_configure -- --with-lang1=$(CURDIR)/apertium-cat-2.12.0 --with-lang2=$(CURDIR)/apertium-ita-1.4.0 |
| 23 |
|
| 24 |
override_dh_auto_build: |
| 25 |
cd $(CURDIR)/apertium-cat-2.12.0 && $(MAKE) -j$(NUMJOBS) |
| 26 |
cd $(CURDIR)/apertium-ita-1.4.0 && $(MAKE) -j$(NUMJOBS) |
| 27 |
dh_auto_build |