{"thread":{"id":"23318","subject":"[PATCHv6 6/6] gitweb: update INSTALL to use shorter make target","startedAt":"2010-04-03T00:37:33Z","lastAt":"2010-04-03T00:37:33Z","messageCount":1,"participants":["Mark Rada"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"138485","messageId":"4BB68DCD.7090000@mailservices.uwaterloo.ca","threadId":"23318","inReplyTo":null,"subject":"[PATCHv6 6/6] gitweb: update INSTALL to use shorter make target","fromName":"Mark Rada","fromEmail":"marada@uwaterloo.ca","sentAt":"2010-04-03T00:37:33Z","receivedAt":"2010-04-03T00:37:33Z","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\nChanges since last revision:\n\t- Fixed a tabs/spaces issue pointed out by Jakub\n\t- Dropped cgi file extension where needed as pointed\n\t  out by Jakub\n\n gitweb/INSTALL |   16 +++++++---------\n 1 files changed, 7 insertions(+), 9 deletions(-)\n\ndiff --git a/gitweb/INSTALL b/gitweb/INSTALL\nindex 44ff17d..cbdc136 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             ;# 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                        ;# 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+\t     gitweb\n \n \tcp -fv ~/git/gitweb/gitweb.{cgi,js,css} \\\n \t       ~/git/gitweb/git-{favicon,logo}.png \\\n-- \n1.7.0.3.519.g7e0613\n"}]}