X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/59b8d96508ed3becd57a5fb9ae1d3368d5074f94..ace01e7181b7882e3039702a251ef97c7a87dcaa:/debian/rules diff --git a/debian/rules b/debian/rules index 0c0cde0..9b128d0 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,16 @@ #! /usr/bin/make -f -DH_OPTIONS = -Bdebian/build -%:; dh $@ $(DH_OPTIONS) --without autoreconf +DH_OPTIONS = --parallel -Bdebian/build -override_dh_auto_install: - dh_auto_install $(addprefix -O,$(DH_OPTIONS)) - rm -f debian/cfd/usr/share/info/dir +OVERRIDES += auto_configure +dh_auto_configure_OPTS = -- +dh_auto_configure_OPTS += --with-imagedir=/var/lib/runlisp + +OVERRIDES += auto_install +dh_auto_install_OPTS = --destdir=debian/tmp + +%:; dh $@ $(DH_OPTIONS) + +$(foreach o, $(sort $(OVERRIDES)), dh-$o-hook)::; @: +$(foreach o, $(sort $(OVERRIDES)), override_dh_$o): override_dh_%: dh-%-hook + dh_$* $(addprefix -O, $(DH_OPTIONS)) $(dh_$*_OPTS)