Re: [PATCHv5 GSoC] gitweb: Move static files into seperate subdirectory
- From
Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
- Date
- May 24, 2010, 20:28 UTC
- Message-ID
- <AANLkTilqa8HAs9jHJQ5KxWic1IYOZxCj10f11KBRMA-b@mail.gmail.com>
- 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 <chriscool@tuxfamily.org> wrote:
Show 36 quoted lines
> 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.
>