{"action":"created","issue":{"url":"https://api.github.com/repos/htacg/tidy-html5/issues/159","labels_url":"https://api.github.com/repos/htacg/tidy-html5/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/htacg/tidy-html5/issues/159/comments","events_url":"https://api.github.com/repos/htacg/tidy-html5/issues/159/events","html_url":"https://github.com/htacg/tidy-html5/issues/159","id":57365772,"number":159,"title":"building/installing develop-500 branch (ubuntu)","user":{"login":"dkebler","id":1316185,"avatar_url":"https://avatars.githubusercontent.com/u/1316185?v=3","gravatar_id":"","url":"https://api.github.com/users/dkebler","html_url":"https://github.com/dkebler","followers_url":"https://api.github.com/users/dkebler/followers","following_url":"https://api.github.com/users/dkebler/following{/other_user}","gists_url":"https://api.github.com/users/dkebler/gists{/gist_id}","starred_url":"https://api.github.com/users/dkebler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkebler/subscriptions","organizations_url":"https://api.github.com/users/dkebler/orgs","repos_url":"https://api.github.com/users/dkebler/repos","events_url":"https://api.github.com/users/dkebler/events{/privacy}","received_events_url":"https://api.github.com/users/dkebler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/htacg/tidy-html5/labels/Technical%20Support","name":"Technical Support","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-11T19:36:54Z","updated_at":"2015-02-12T13:10:03Z","closed_at":null,"body":"Anyone help me out?\r\n\r\nSince master is now quite behind compiling/installing develop-500 branch seems necessary.  \r\n\r\nI found this bash script (for ubuntu) in a gist and it made doing so for master branch trivial but it's not helpful for develop-500 as in there is no gnuauto folder within /build in this branch.\r\n\r\nI need help with the line indicated ????\r\nWill simply bringing across the complete /build folder from master solve this??? \r\nor need to use make use of /cmake which is in this branch.  In which case what is the equivalent call(s)\r\n\r\nWish I knew enough to do this myself without extensive time/learning....but alas no....just a lowly sass/html web designer trying to lint his htm5 :-(.\r\n\r\nOnce done this would be a very helpful gist in htacg account.\r\n\r\n````\r\n#!/bin/bash\r\n# Check if user is root\r\nif [ $(id -u) != \"0\" ]; then\r\n    echo \"Error: You must be root to run this script, please use root to install the software.\"\r\n    exit 1\r\nfi\r\n\r\n# uncomment if not yet removed and/or installed\r\n# apt-get remove libtidy-0.99-0 tidy \r\n# apt-get install git-core automake libtool checkinstall\r\n\r\nmkdir /tmp/htmltidy\r\ncd /tmp/htmltidy\r\n# master branch\r\n# git clone https://github.com/htacg/tidy-html5.git\r\n#development branch\r\ngit clone -b develop-500 https://github.com/htacg/tidy-html5.git\r\ncd tidy-html5\r\n\r\n#This works for master branch\r\n# sh build/gnuauto/setup.sh && ./configure --prefix=/usr && make\r\n# This works for develop-500 branch\r\n????????????????\r\n\r\ncheckinstall --pkgversion $(date +\"%Y%m%dcvs-1\")\r\n\r\n#  if you don't want the debian, etc package afterinstall then uncomment\r\n# rm /tmp/htmltidy -rf\r\n`````\r\n"},"comment":{"url":"https://api.github.com/repos/htacg/tidy-html5/issues/comments/74067716","html_url":"https://github.com/htacg/tidy-html5/issues/159#issuecomment-74067716","issue_url":"https://api.github.com/repos/htacg/tidy-html5/issues/159","id":74067716,"user":{"login":"geoffmcl","id":1333435,"avatar_url":"https://avatars.githubusercontent.com/u/1333435?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffmcl","html_url":"https://github.com/geoffmcl","followers_url":"https://api.github.com/users/geoffmcl/followers","following_url":"https://api.github.com/users/geoffmcl/following{/other_user}","gists_url":"https://api.github.com/users/geoffmcl/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffmcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffmcl/subscriptions","organizations_url":"https://api.github.com/users/geoffmcl/orgs","repos_url":"https://api.github.com/users/geoffmcl/repos","events_url":"https://api.github.com/users/geoffmcl/events{/privacy}","received_events_url":"https://api.github.com/users/geoffmcl/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T13:10:03Z","updated_at":"2015-02-12T13:10:03Z","body":"@dkebler, in the develop-500 branch, have removed some development stuff from build/cmake/build-me.sh, so you can use that if you prefer a script, but it will still not do the install. That must be done manually.\r\n\r\n$ cd build/cmake\r\n$ ./build-me.sh\r\n$ [sudo] make install (if desired)\r\n\r\nBy default will install in /usr/local/bin, the cmake default binary install location...\r\n\r\nIf you want to install it in say /usr/bin use - note the 'bin' is not added -\r\n$ ./build-me.sh -DCMAKE_INSTALL_PREFIX=/usr\r\n$ [sudo] make install\r\n\r\nAdvise any problems...\r\n\r\nHTH.\r\n"}}