{"action":"created","issue":{"url":"https://api.github.com/repos/mej/libast/issues/2","repository_url":"https://api.github.com/repos/mej/libast","labels_url":"https://api.github.com/repos/mej/libast/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mej/libast/issues/2/comments","events_url":"https://api.github.com/repos/mej/libast/issues/2/events","html_url":"https://github.com/mej/libast/issues/2","id":347661153,"node_id":"MDU6SXNzdWUzNDc2NjExNTM=","number":2,"title":"generated headers installed to wrong location","user":{"login":"rakslice","id":1845104,"node_id":"MDQ6VXNlcjE4NDUxMDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1845104?v=4","gravatar_id":"","url":"https://api.github.com/users/rakslice","html_url":"https://github.com/rakslice","followers_url":"https://api.github.com/users/rakslice/followers","following_url":"https://api.github.com/users/rakslice/following{/other_user}","gists_url":"https://api.github.com/users/rakslice/gists{/gist_id}","starred_url":"https://api.github.com/users/rakslice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakslice/subscriptions","organizations_url":"https://api.github.com/users/rakslice/orgs","repos_url":"https://api.github.com/users/rakslice/repos","events_url":"https://api.github.com/users/rakslice/events{/privacy}","received_events_url":"https://api.github.com/users/rakslice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-05T01:40:40Z","updated_at":"2018-08-05T02:36:24Z","closed_at":null,"author_association":"NONE","body":"The generated headers `sysdefs.h` and `types.h` are installed directly in `$PREFIX/include` rather than in `$PREFIX/include/libast`.  \r\n\r\n`include/Makefile.am` specifies the generated headers as:\r\n```\r\nnodist_include_HEADERS = libast/sysdefs.h libast/types.\r\n```\r\n(i.e. not `nobase_` which would direct to preserve the directory name)\r\n\r\nSo `make install` does e.g.:\r\n```\r\n /usr/bin/install -c -m 644 libast/sysdefs.h libast/types.h '/usr/local/include'\r\n```\r\n\r\nThis not only results in headers that are not findable, but also could clobber some pretty important existing system headers depending on the value of `$PREFIX`.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mej/libast/issues/comments/410491202","html_url":"https://github.com/mej/libast/issues/2#issuecomment-410491202","issue_url":"https://api.github.com/repos/mej/libast/issues/2","id":410491202,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDQ5MTIwMg==","user":{"login":"rakslice","id":1845104,"node_id":"MDQ6VXNlcjE4NDUxMDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1845104?v=4","gravatar_id":"","url":"https://api.github.com/users/rakslice","html_url":"https://github.com/rakslice","followers_url":"https://api.github.com/users/rakslice/followers","following_url":"https://api.github.com/users/rakslice/following{/other_user}","gists_url":"https://api.github.com/users/rakslice/gists{/gist_id}","starred_url":"https://api.github.com/users/rakslice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakslice/subscriptions","organizations_url":"https://api.github.com/users/rakslice/orgs","repos_url":"https://api.github.com/users/rakslice/repos","events_url":"https://api.github.com/users/rakslice/events{/privacy}","received_events_url":"https://api.github.com/users/rakslice/received_events","type":"User","site_admin":false},"created_at":"2018-08-05T02:36:24Z","updated_at":"2018-08-05T02:36:24Z","author_association":"NONE","body":"Relevant docs at https://www.gnu.org/software/automake/manual/automake.html#index-nobase_005f-and-dist_005f-or-nodist_005f"}}
{"actor":{"display_login":"rakslice"}}