From: Mark Wooding Date: Tue, 10 Sep 2019 01:43:57 +0000 (+0100) Subject: Makefile: Checks for things that sbuild specifically wants. X-Git-Url: https://git.distorted.org.uk/~mdw/distorted-chroot/commitdiff_plain/d56d9258ead1aaf90b3e177622bd22b63c75be69 Makefile: Checks for things that sbuild specifically wants. A configuration file is fair enough. I'm not really sure why it thinks `apt-get' should be the same on both sides of the wall. --- diff --git a/Makefile b/Makefile index 08906ba..fbbc961 100644 --- a/Makefile +++ b/Makefile @@ -457,6 +457,8 @@ $(STATE)/etc/sbuild.conf: etc/sbuild.conf.in $(schroot-config_STAMP) $(V_AT)mkdir -p $(dir $@) $(call v_tag,SUBST)$(call subst-file,### -*-perl-*-) \ <$< >$@.new && mv $@.new $@ +check::; $(call check-symlink,WARN,/etc/sbuild/sbuild.conf,$(HERE)/$(STATE)/etc/sbuild.conf) +check::; $(call check-executable,WARN,/usr/local.schroot/hacks/apt-get) SCHROOT_SCRIPTS += 11private SCHROOT_SCRIPTS += 15binfmt