{"thread":{"id":"23283","subject":"[PATCHv5 6/6] gitweb: update INSTALL to use shorter make target","startedAt":"2010-04-01T05:37:09Z","lastAt":"2010-04-01T12:25:29Z","messageCount":2,"participants":["Mark Rada","Jakub Narebski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"138325","messageId":"4BB43105.7000201@mailservices.uwaterloo.ca","threadId":"23283","inReplyTo":null,"subject":"[PATCHv5 6/6] gitweb: update INSTALL to use shorter make target","fromName":"Mark Rada","fromEmail":"marada@uwaterloo.ca","sentAt":"2010-04-01T05:37:09Z","receivedAt":"2010-04-01T05:37:09Z","isPatch":false,"sender":{"key":"marada@uwaterloo.ca","avatar":"https://avatars.githubusercontent.com/u/38430?v=4"},"body":"Gitweb can be generated by the gitweb/gitweb.cgi target or the gitweb\ntarget. Since the gitweb target is shorter, I think it would be better\nto have new users be instructed to use it.\n\nSigned-off-by: Mark Rada <marada@uwaterloo.ca>\n\n---\n\n\tNo changes since previous version.\n\n gitweb/INSTALL |   16 +++++++---------\n 1 files changed, 7 insertions(+), 9 deletions(-)\n\ndiff --git a/gitweb/INSTALL b/gitweb/INSTALL\nindex a79a183..f4212cf 100644\n--- a/gitweb/INSTALL\n+++ b/gitweb/INSTALL\n@@ -2,12 +2,11 @@ GIT web Interface (gitweb) Installation\n =======================================\n \n First you have to generate gitweb.cgi from gitweb.perl using\n-\"make gitweb/gitweb.cgi\", then copy appropriate files (gitweb.cgi,\n-gitweb.js, gitweb.css, git-logo.png and git-favicon.png) to their\n-destination. For example if git was (or is) installed with /usr prefix,\n-you can do\n+\"make gitweb\", then copy appropriate files (gitweb.cgi, gitweb.js,\n+gitweb.css, git-logo.png and git-favicon.png) to their destination.\n+For example if git was (or is) installed with /usr prefix, you can do\n \n-\t$ make prefix=/usr gitweb/gitweb.cgi  ;# as yourself\n+\t$ make prefix=/usr gitweb.cgi         ;# as yourself\n \t# cp gitweb/git* /var/www/cgi-bin/    ;# as root\n \n Alternatively you can use autoconf generated ./configure script to\n@@ -16,7 +15,7 @@ instead\n \n \t$ make configure                     ;# as yourself\n \t$ ./configure --prefix=/usr          ;# as yourself\n-\t$ make gitweb/gitweb.cgi             ;# as yourself\n+\t$ make gitweb.cgi                    ;# as yourself\n \t# cp gitweb/git* /var/www/cgi-bin/   ;# as root\n \n The above example assumes that your web server is configured to run\n@@ -32,8 +31,7 @@ file for gitweb (in gitweb/README).\n \n - There are many configuration variables which affect building of\n   gitweb.cgi; see \"default configuration for gitweb\" section in main\n-  (top dir) Makefile, and instructions for building gitweb/gitweb.cgi\n-  target.\n+  (top dir) Makefile, and instructions for building gitweb target.\n \n   One of the most important is where to find the git wrapper binary. Gitweb\n   tries to find the git wrapper at $(bindir)/git, so you have to set $bindir\n@@ -86,7 +84,7 @@ Build example\n \t     GITWEB_LOGO=\"/gitweb/git-logo.png\" \\\n \t     GITWEB_FAVICON=\"/gitweb/git-favicon.png\" \\\n \t     bindir=/usr/local/bin \\\n-\t     gitweb/gitweb.cgi\n+             gitweb.cgi\n \n \tcp -fv ~/git/gitweb/gitweb.{cgi,js,css} \\\n \t       ~/git/gitweb/git-{favicon,logo}.png \\\n-- \n1.7.0.3.436.g45b2d\n"},{"id":"138338","messageId":"201004011425.29869.jnareb@gmail.com","threadId":"23283","inReplyTo":"4BB43105.7000201@mailservices.uwaterloo.ca","subject":"Re: [PATCHv5 6/6] gitweb: update INSTALL to use shorter make target","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2010-04-01T12:25:29Z","receivedAt":"2010-04-01T12:25:29Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"On Thu, 1 Apr 2010, Mark Rada wrote:\n\n> Gitweb can be generated by the gitweb/gitweb.cgi target or the gitweb\n> target. Since the gitweb target is shorter, I think it would be better\n> to have new users be instructed to use it.\n\nGood idea.\n  \n> -\t$ make prefix=/usr gitweb/gitweb.cgi  ;# as yourself\n> +\t$ make prefix=/usr gitweb.cgi         ;# as yourself\n>  \t# cp gitweb/git* /var/www/cgi-bin/    ;# as root\n\nBut it should read\n\n-\t$ make prefix=/usr gitweb/gitweb.cgi  ;# as yourself\n+\t$ make prefix=/usr gitweb             ;# as yourself\n\nThe target is \"gitweb\", not \"gitweb.cgi\"\n  \n>  Alternatively you can use autoconf generated ./configure script to\n> @@ -16,7 +15,7 @@ instead\n>  \n>  \t$ make configure                     ;# as yourself\n>  \t$ ./configure --prefix=/usr          ;# as yourself\n> -\t$ make gitweb/gitweb.cgi             ;# as yourself\n> +\t$ make gitweb.cgi                    ;# as yourself\n\nSame here.\n\n\n> @@ -86,7 +84,7 @@ Build example\n>  \t     GITWEB_LOGO=\"/gitweb/git-logo.png\" \\\n>  \t     GITWEB_FAVICON=\"/gitweb/git-favicon.png\" \\\n>  \t     bindir=/usr/local/bin \\\n> -\t     gitweb/gitweb.cgi\n> +             gitweb.cgi\n\nSame here.  Also spaces in place of TAB.\n\n-- \nJakub Narebski\nPoland\n"}]}