)]}'
{
  "commit": "ad666becfe075ca7c831ebbf4b44526994395e97",
  "tree": "9ad7b5c8b255adc76ccbd90bae5c5f253d933782",
  "parents": [
    "c2b915e2a5cdb2ef79124e1a558f67959c78cc62"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Sat May 11 09:44:07 2024 +0100"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Tue May 14 16:53:29 2024 +0100"
  },
  "message": "gdb/doc: don\u0027t delete *.pod files too early\n\nWhen doing \u0027make -C gdb/doc man\u0027 to build the man pages, I noticed\nthat the outputs were being rebuilt each time the make command was\nrerun, even when the input files hadn\u0027t changed.\n\nThis was caused by this commit:\n\n  commit 824083f34c222aa7419e2ea58e82d6f230d5f531\n  Date:   Fri Apr 12 17:47:20 2024 +0100\n\n      gdb/doc: use silent-rules.mk in the Makefile\n\nWhich split the generation of the .pod file from the actual creation\nof the man page file.  Prior to this split it was OK to delete the\n.pod file at the end of the recipe, the rule depending on the .texi\ninput file, and output was the .1 or .5 man page file.\n\nNow however, with the split, the man page creation depends on the .pod\nfile, if we delete this after creating the .1 or .5 man page file then\nthe next time we run \u0027make\u0027 the .pod file is missing and is\nregenerated, which in turn triggers the regeneration of the man page\nfile.\n\nFix this by leaving the .pod file around, and only cleaning up these\nfiles in the \u0027mostlyclean\u0027 target.\n\nWhich leads to a second problem, the POD_FILE_TMPS is not created\ncorrectly, so we don\u0027t actually clean up the .pod files!  This too is\nfixed in this commit.\n\nAfter this commit running \u0027make -C gdb/doc man\u0027 will build the manual\npages the first time, and each subsequent run will do nothing.\n\nRunning \u0027make -C gdb/doc mostlyclean\u0027 will now delete the .pod files.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "28d829fdfee86ba8348f7e4206f719fe164c9197",
      "old_mode": 33188,
      "old_path": "gdb/doc/Makefile.in",
      "new_id": "3f3fe7b7ed987964a4e9972d375deca4b3164ebf",
      "new_mode": 33188,
      "new_path": "gdb/doc/Makefile.in"
    }
  ]
}
