Makefile: Checks for things that sbuild specifically wants.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 10 Sep 2019 01:43:57 +0000 (02:43 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 11 Sep 2019 11:05:57 +0000 (12:05 +0100)
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.

Makefile

index 08906ba..fbbc961 100644 (file)
--- 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