Logo Search packages:      
Sourcecode: aap version File versions

def aap-1.090::DoBuild::Update::set_buildcheck (   self,
  recdict,
  str,
  target,
  level 
)

Set the buildcheck signature from string "str" for target "target".
   Check if it's different from the last time.

Definition at line 198 of file DoBuild.py.

00198                                                          :
        """Set the buildcheck signature from string "str" for target "target".
           Check if it's different from the last time."""
        buildcheck = buildcheckstr2sign(str)
        self.buildcheck = buildcheck

        # Only need to do the check if not updating already.
        if not self.outdated(target):
            # building is to be done if the signature differs.
            # With "--contents" we don't build for a changed buildcheck.
            old = get_old_sign(recdict, "", "buildcheck", target)
            if not old:
                self.newsig = 1
            if self.buildcheck != old:
                if Global.cmd_args.options.get("contents"):
                    msg_depend(recdict, _('Buildcheck for "%s" changed, ignored because of --contents option') % target.short_name(), level)
                else:
                    self.source = "buildcheck"
                    # DEBUG
                    # msg_extra(recdict, 'build commands: "%s"' % str)

    def upd_reason(self, dst_time, target):


Generated by  Doxygen 1.6.0   Back to index