{"action":"created","issue":{"url":"https://api.github.com/repos/KiCad/kicad-doc/issues/566","repository_url":"https://api.github.com/repos/KiCad/kicad-doc","labels_url":"https://api.github.com/repos/KiCad/kicad-doc/issues/566/labels{/name}","comments_url":"https://api.github.com/repos/KiCad/kicad-doc/issues/566/comments","events_url":"https://api.github.com/repos/KiCad/kicad-doc/issues/566/events","html_url":"https://github.com/KiCad/kicad-doc/pull/566","id":320128317,"number":566,"title":"Cleanup cmake rules","user":{"login":"StefanBruens","id":1158848,"avatar_url":"https://avatars3.githubusercontent.com/u/1158848?v=4","gravatar_id":"","url":"https://api.github.com/users/StefanBruens","html_url":"https://github.com/StefanBruens","followers_url":"https://api.github.com/users/StefanBruens/followers","following_url":"https://api.github.com/users/StefanBruens/following{/other_user}","gists_url":"https://api.github.com/users/StefanBruens/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanBruens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanBruens/subscriptions","organizations_url":"https://api.github.com/users/StefanBruens/orgs","repos_url":"https://api.github.com/users/StefanBruens/repos","events_url":"https://api.github.com/users/StefanBruens/events{/privacy}","received_events_url":"https://api.github.com/users/StefanBruens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-04T01:11:13Z","updated_at":"2018-05-04T06:15:26Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/KiCad/kicad-doc/pulls/566","html_url":"https://github.com/KiCad/kicad-doc/pull/566","diff_url":"https://github.com/KiCad/kicad-doc/pull/566.diff","patch_url":"https://github.com/KiCad/kicad-doc/pull/566.patch"},"body":"Currently, the whole documentation gets build twice when doing \"make && make install\", as all files are created using commands specified in \"add_custom_target\".\r\n\r\nAs documented for [add_custom_target](https://cmake.org/cmake/help/v3.6/command/add_custom_target.html#command:add_custom_target), these commands are always executed. The correct way to only rebuild on changes is a combination of `add_custom_target(target DEPENDS file)` and `add_custom_command(OUTPUT file COMMANDS ...)`."},"comment":{"url":"https://api.github.com/repos/KiCad/kicad-doc/issues/comments/386513674","html_url":"https://github.com/KiCad/kicad-doc/pull/566#issuecomment-386513674","issue_url":"https://api.github.com/repos/KiCad/kicad-doc/issues/566","id":386513674,"user":{"login":"nickoe","id":352202,"avatar_url":"https://avatars3.githubusercontent.com/u/352202?v=4","gravatar_id":"","url":"https://api.github.com/users/nickoe","html_url":"https://github.com/nickoe","followers_url":"https://api.github.com/users/nickoe/followers","following_url":"https://api.github.com/users/nickoe/following{/other_user}","gists_url":"https://api.github.com/users/nickoe/gists{/gist_id}","starred_url":"https://api.github.com/users/nickoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickoe/subscriptions","organizations_url":"https://api.github.com/users/nickoe/orgs","repos_url":"https://api.github.com/users/nickoe/repos","events_url":"https://api.github.com/users/nickoe/events{/privacy}","received_events_url":"https://api.github.com/users/nickoe/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T06:15:26Z","updated_at":"2018-05-04T06:15:26Z","author_association":"OWNER","body":"Did you try a clean build?"}}
{"actor":{"display_login":"nickoe"}}