Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 #export DH_VERBOSE=1
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_configure:
17 cd $(CURDIR)/apertium-dan-0.7.0 && autoreconf -fi && ./configure
18 cd $(CURDIR)/apertium-nno-1.4.0 && autoreconf -fi && ./configure
19 cd $(CURDIR)/apertium-nob-1.4.0 && autoreconf -fi && ./configure
20 dh_auto_configure -- --with-lang1=$(CURDIR)/apertium-dan-0.7.0 --with-lang2n=$(CURDIR)/apertium-nno-1.4.0 --with-lang2b=$(CURDIR)/apertium-nob-1.4.0
21
22 override_dh_auto_build:
23 cd $(CURDIR)/apertium-dan-0.7.0 && $(MAKE) -j$(NUMJOBS)
24 cd $(CURDIR)/apertium-nno-1.4.0 && $(MAKE) -j$(NUMJOBS)
25 cd $(CURDIR)/apertium-nob-1.4.0 && $(MAKE) -j$(NUMJOBS)
26 dh_auto_build