debian/: Add packaging support.
[runlisp] / debian / rules
CommitLineData
35ed3e78
MW
1#! /usr/bin/make -f
2
3DH_OPTIONS = --parallel -Bdebian/build
4
5OVERRIDES += auto_configure
6dh_auto_configure_OPTS = --
7dh_auto_configure_OPTS += --with-imagedir=/var/lib/runlisp
8
9OVERRIDES += auto_install
10dh_auto_install_OPTS = --destdir=debian/tmp
11
12%:; dh $@ $(DH_OPTIONS)
13
14$(foreach o, $(sort $(OVERRIDES)), dh-$o-hook)::; @:
15$(foreach o, $(sort $(OVERRIDES)), override_dh_$o): override_dh_%: dh-%-hook
16 dh_$* $(addprefix -O, $(DH_OPTIONS)) $(dh_$*_OPTS)