X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/12ba664f0e69a5ca075ce63647d49a1ddcb3bfe4..44ccabcb96f8598eb055b1540efc29a45ce031b5:/debian/rules diff --git a/debian/rules b/debian/rules index 21eca79..9b128d0 100755 --- a/debian/rules +++ b/debian/rules @@ -1,10 +1,16 @@ #! /usr/bin/make -f -CDBS = /usr/share/cdbs/1 -include $(CDBS)/rules/debhelper.mk -include $(CDBS)/class/autotools.mk +DH_OPTIONS = --parallel -Bdebian/build -DEB_BUILDDIR = build +OVERRIDES += auto_configure +dh_auto_configure_OPTS = -- +dh_auto_configure_OPTS += --with-imagedir=/var/lib/runlisp -install/cfd:: - rm -f debian/cfd/usr/share/info/dir +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)