From: Pavan Kumar Sunkara Date: Mon, 24 May 2010 20:28:07 GMT Subject: Re: [PATCHv5 GSoC] gitweb: Move static files into seperate subdirectory Message-ID: In-Reply-To: <201005242205.43194.chriscool@tuxfamily.org> I don't understand why the binary files aren't moving into static/ dir. I haven't faced this type of problem before. Give me some time to figure it out. On Tue, May 25, 2010 at 1:35 AM, Christian Couder wrote: > On Monday 24 May 2010 17:22:44 Pavan Kumar Sunkara wrote: >> >>  gitweb/{ => static}/git-favicon.png |  Bin 115 -> 115 bytes >>  gitweb/{ => static}/git-logo.png    |  Bin 207 -> 207 bytes >>  gitweb/{ => static}/gitweb.css      |    0 >>  gitweb/{ => static}/gitweb.js       |    0 > > The patch is supposed to move git-favicon.png and git-logo.png into > gitweb/static but it doesn't. > >>  diff --git a/gitweb/gitweb.css b/gitweb/static/gitweb.css >> similarity index 100% >> rename from gitweb/gitweb.css >> rename to gitweb/static/gitweb.css >> diff --git a/gitweb/gitweb.js b/gitweb/static/gitweb.js >> similarity index 100% >> rename from gitweb/gitweb.js >> rename to gitweb/static/gitweb.js > > Only gitweb.css and gitweb.js are moved into gitweb/static and that gives some > errors when running make install: > > install -d -m 755 '/home/christian/share/gitweb' > install -m 755 gitweb.cgi '/home/christian/share/gitweb' > install -d -m 755 '/home/christian/share/gitweb/static' > install -m 644 static/gitweb.js static/gitweb.css static/git-logo.png > static/git-favicon.png '/home/christian/share/gitweb/static' > install: cannot stat `static/git-logo.png': No such file or directory > install: cannot stat `static/git-favicon.png': No such file or directory > make[1]: *** [install] Error 1 > make[1]: Leaving directory `/home/christian/work/git/gitweb' > make: *** [install] Error 2 > > Best regards, > Christian. >