Source: frogatto Version: 1.3.1+dfsg-4 Severity: wishlist Tags: patch Hi,
frogatto seems to build fine with multiple build jobs when building. Thus, my suggestion is to enable the parallel build (reading the number of jobs from DEB_BUILD_OPTIONS, and adding it to the make invocation) to speed up the build when requested (see also Policy ยง4.9.1). The patch also removes the DEB_BUILD_PARALLEL variable, which is not used as no cdbs buildsystem class is used, and uses the MAKE variable instead of directly invoking make. Thanks, -- Pino
--- a/debian/rules +++ b/debian/rules @@ -17,7 +17,9 @@ UPSTREAM_CLEAN_VERSION := $(shell echo $ DEB_DH_GENCONTROL_ARGS = -- -VUVersion=$(UPSTREAM_CLEAN_VERSION) -DEB_BUILD_PARALLEL = 1 +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NJOBS := -j $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +endif clean:: find -name \*.o -delete @@ -26,7 +28,7 @@ clean:: rm -f game frogatto.6 build/frogatto:: frogatto.6 - make USE_CCACHE=no + $(MAKE) $(NJOBS) USE_CCACHE=no frogatto.6: debian/frogatto.pod pod2man --section=6 $< > $@