{"action":"created","issue":{"url":"https://api.github.com/repos/majn/telegram-purple/issues/124","labels_url":"https://api.github.com/repos/majn/telegram-purple/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/majn/telegram-purple/issues/124/comments","events_url":"https://api.github.com/repos/majn/telegram-purple/issues/124/events","html_url":"https://github.com/majn/telegram-purple/pull/124","id":108640183,"number":124,"title":"Fix build system","user":{"login":"BenWiederhake","id":2690845,"avatar_url":"https://avatars.githubusercontent.com/u/2690845?v=3","gravatar_id":"","url":"https://api.github.com/users/BenWiederhake","html_url":"https://github.com/BenWiederhake","followers_url":"https://api.github.com/users/BenWiederhake/followers","following_url":"https://api.github.com/users/BenWiederhake/following{/other_user}","gists_url":"https://api.github.com/users/BenWiederhake/gists{/gist_id}","starred_url":"https://api.github.com/users/BenWiederhake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenWiederhake/subscriptions","organizations_url":"https://api.github.com/users/BenWiederhake/orgs","repos_url":"https://api.github.com/users/BenWiederhake/repos","events_url":"https://api.github.com/users/BenWiederhake/events{/privacy}","received_events_url":"https://api.github.com/users/BenWiederhake/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-28T11:34:13Z","updated_at":"2015-09-28T13:08:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/majn/telegram-purple/pulls/124","html_url":"https://github.com/majn/telegram-purple/pull/124","diff_url":"https://github.com/majn/telegram-purple/pull/124.diff","patch_url":"https://github.com/majn/telegram-purple/pull/124.patch"},"body":"There already is a file that knows how to build libtgl, and it is `tgl/Makefile`. There already is a file that knows how to build tl-parser, and it is `tgl/tl-parser/Makefile`. There is no need for a `Makefile.tlg` or anything, and this approach is highly fragile (it breaks as soon any change in general configuration or `tgl/Makefile.in` occurs).\r\n\r\nThese two patches will do, in order:\r\n\r\n- Let the projects build themselves. (Kicks out `Makefile.tgl` and `Makefile.tl-parse`)\r\n- Empower telegram-purple to build libtgl from pristine source (e.g. when not even `tgl/configure` or `tgl/config.h.in` exist). I need this mostly for myself and can totally understand if you don't want this second patch."},"comment":{"url":"https://api.github.com/repos/majn/telegram-purple/issues/comments/143738815","html_url":"https://github.com/majn/telegram-purple/pull/124#issuecomment-143738815","issue_url":"https://api.github.com/repos/majn/telegram-purple/issues/124","id":143738815,"user":{"login":"BenWiederhake","id":2690845,"avatar_url":"https://avatars.githubusercontent.com/u/2690845?v=3","gravatar_id":"","url":"https://api.github.com/users/BenWiederhake","html_url":"https://github.com/BenWiederhake","followers_url":"https://api.github.com/users/BenWiederhake/followers","following_url":"https://api.github.com/users/BenWiederhake/following{/other_user}","gists_url":"https://api.github.com/users/BenWiederhake/gists{/gist_id}","starred_url":"https://api.github.com/users/BenWiederhake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenWiederhake/subscriptions","organizations_url":"https://api.github.com/users/BenWiederhake/orgs","repos_url":"https://api.github.com/users/BenWiederhake/repos","events_url":"https://api.github.com/users/BenWiederhake/events{/privacy}","received_events_url":"https://api.github.com/users/BenWiederhake/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T13:08:10Z","updated_at":"2015-09-28T13:08:10Z","body":"Yup, this is related to what I mentioned earlier: `tgl/Makefile` leaves out the autogenerated objects, a.k.a. ${TGL_OBJECTS_AUTO}."}}