{"action":"created","issue":{"url":"https://api.github.com/repos/ibus/ibus/issues/1837","labels_url":"https://api.github.com/repos/ibus/ibus/issues/1837/labels{/name}","comments_url":"https://api.github.com/repos/ibus/ibus/issues/1837/comments","events_url":"https://api.github.com/repos/ibus/ibus/issues/1837/events","html_url":"https://github.com/ibus/ibus/pull/1837","id":122686500,"number":1837,"title":"Use datarootdir","user":{"login":"oahong","id":20916,"avatar_url":"https://avatars.githubusercontent.com/u/20916?v=3","gravatar_id":"","url":"https://api.github.com/users/oahong","html_url":"https://github.com/oahong","followers_url":"https://api.github.com/users/oahong/followers","following_url":"https://api.github.com/users/oahong/following{/other_user}","gists_url":"https://api.github.com/users/oahong/gists{/gist_id}","starred_url":"https://api.github.com/users/oahong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oahong/subscriptions","organizations_url":"https://api.github.com/users/oahong/orgs","repos_url":"https://api.github.com/users/oahong/repos","events_url":"https://api.github.com/users/oahong/events{/privacy}","received_events_url":"https://api.github.com/users/oahong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-17T08:29:54Z","updated_at":"2015-12-23T17:25:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ibus/ibus/pulls/1837","html_url":"https://github.com/ibus/ibus/pull/1837","diff_url":"https://github.com/ibus/ibus/pull/1837.diff","patch_url":"https://github.com/ibus/ibus/pull/1837.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/ibus/ibus/issues/comments/166949208","html_url":"https://github.com/ibus/ibus/pull/1837#issuecomment-166949208","issue_url":"https://api.github.com/repos/ibus/ibus/issues/1837","id":166949208,"user":{"login":"oahong","id":20916,"avatar_url":"https://avatars.githubusercontent.com/u/20916?v=3","gravatar_id":"","url":"https://api.github.com/users/oahong","html_url":"https://github.com/oahong","followers_url":"https://api.github.com/users/oahong/followers","following_url":"https://api.github.com/users/oahong/following{/other_user}","gists_url":"https://api.github.com/users/oahong/gists{/gist_id}","starred_url":"https://api.github.com/users/oahong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oahong/subscriptions","organizations_url":"https://api.github.com/users/oahong/orgs","repos_url":"https://api.github.com/users/oahong/repos","events_url":"https://api.github.com/users/oahong/events{/privacy}","received_events_url":"https://api.github.com/users/oahong/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T17:25:02Z","updated_at":"2015-12-23T17:25:02Z","body":"It's the default value for $prefix, not an assumption, read documentation here[1].\r\nthe problem is you forget to regenerate Makefile, just like if you change something in configure.ac you need to regenerate configure script.\r\n\r\nI need datarootdir because nowadays in some Linux distros[2]' filesystem layout, $prefix/share is not always $datarootdir\r\n  \r\n1. https://www.gnu.org/software/automake/manual/html_node/Standard-Directory-Variables.html\r\n2. https://www.exherbo.org/docs/multiarch.txt"}}