The changes from Helmut to make cross-building work moved us from
non-parallel to parallel builds. Unfortunately, the build system isn't
parallel-build-safe (see, for example, the calls of make from within
the Makefile), and this meant that in some circumstances the
concordance file ended up empty.
This package is very quick to build, so tell dh_auto_build to not
attempt parallel building.
build:
$(checkdir)
- dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_build -- bible-index.c bible.data bible.data.conc 'LD=$$(CC)'
+ dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_build --no-parallel -- bible-index.c bible.data bible.data.conc 'LD=$$(CC)'
rm -f *.o
- dh_auto_build -- bible 'LD=$$(CC)'
+ dh_auto_build --no-parallel -- bible 'LD=$$(CC)'
cd debian && $(CC) -g -O2 -o randverse randverse.c
touch build