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 26
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
endif
CONFIGURE_FLAGS += --disable-werror --docdir=/usr/share/doc/libmwaw-doc --without-docs
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@
override_dh_auto_configure:
override_dh_auto_build-arch:
dh_auto_configure -- $(CONFIGURE_FLAGS)
$(MAKE) $(NJOBS)
override_dh_auto_build-indep:
dh_auto_configure -- $(filter-out --without-docs,$(CONFIGURE_FLAGS))
$(MAKE) $(NJOBS)
|