The .mk lists donor and output files, the relationship between which
is primarily recorded in catacomb-import-update, but also encoded in
the .mk which is loaded by the makefiles to know what to build and
when.  This change to --convert detects if the .mk corresponding to
this version of the script is different to that which generated the
actually-effective one in the import commit.
If this check trips, --import must be rerun.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
        &~./catacomb-import-update --convert
 
 &cat-converted: $(addprefix &~catacomb-import/, $(CATACOMB_IMPORT_DONORS))
+
+&CLEAN += & secnet-import.auto.mk.compare
 
 commit_changes() if !$DOCONVERT;
 
 if ($DOCONVERT) {
+  my $mff2 = "$RECIP_DIR/$MAKEFILE_FRAGMENT.compare";
+  write_makefile_fragment($mff2);
+  runx "diff", "-u", "$DONOR_DIR/$MAKEFILE_FRAGMENT", $mff2;
+
   foreach my $to (@RENAME_LIST) {
     rename "$to.new", "$to";
   }