Re: [PATCHv5 GSoC] gitweb: Move static files into seperate subdirectory
From: Pavan Kumar Sunkara <hidden>
Date: 2016-06-15 22:48:51
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 [off-list ref] wrote:
On Monday 24 May 2010 17:22:44 Pavan Kumar Sunkara wrote:quoted
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 | 0The patch is supposed to move git-favicon.png and git-logo.png into gitweb/static but it doesn't.quoted
diff --git a/gitweb/gitweb.css b/gitweb/static/gitweb.css similarity index 100% rename from gitweb/gitweb.css rename to gitweb/static/gitweb.cssdiff --git a/gitweb/gitweb.js b/gitweb/static/gitweb.js similarity index 100% rename from gitweb/gitweb.js rename to gitweb/static/gitweb.jsOnly 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.