git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCHv2/RFC] gitweb: Prepare for splitting gitweb

From
Jakub Narebski <jnareb@gmail.com>
Date
Jul 8, 2010, 06:59 UTC
Message-ID
<201007080859.33958.jnareb@gmail.com>
In-Reply-To
<7v39vustku.fsf@alter.siamese.dyndns.org>
Dnia czwartek 8. lipca 2010 02:30, Junio C Hamano napisał:
Show 30 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes:
> 
> >> > +install-modules:
> >> > +	install_dirs=$(sort $(dir $(GITWEB_MODULES))) && \
> >> > ...
> >
> > For example with the following Makefile:
> >
> >   GITWEB_MODULES += GitwebCache/SimpleFileCache.pm
> >   GITWEB_MODULES += GitwebCache/Capture.pm
> >   GITWEB_MODULES += GitwebCache/Capture/SelectFH.pm
> >   GITWEB_MODULES += Gitweb/Config.pm
> >   
> >   all:
> >   	@echo $(sort $(dir $(GITWEB_MODULES)))
> >
> > running 'make' results in:
> >
> >   Gitweb/ GitwebCache/ GitwebCache/Capture/
> 
> 
> Try replacing that with:
> 
> 	all:
>         	install_dirs=$(sort $(dir $(GITWEB_MODULES))) && \
>                 echo $$install_dirs
> 
> perhaps?
> 
> Hint: dq.

You are completely right. I'm sorry. I should have copied the structure from "[PATCH 2/2 v2] Makefile: work around ksh's failure to handle missing list argument to for loop" more carefully.

I'll resend it.
-- 
Jakub Narebski
Poland
Previous: Junio C HamanoNext: Jakub Narebski
Message 13 of 14 in “[PATCHv2/RFC] gitweb: Prepare for splitting gitweb”
  1. Jakub NarebskiJul 7, 2010
  2. Ævar Arnfjörð BjarmasonJul 7, 2010
  3. Jakub NarebskiJul 7, 2010
  4. Jakub NarebskiJul 8, 2010
  5. Jakub NarebskiJul 13, 2010
  6. Ævar Arnfjörð BjarmasonJul 13, 2010
  7. Jakub NarebskiJul 14, 2010
  8. Ævar Arnfjörð BjarmasonJul 14, 2010
  9. Jakub NarebskiJul 14, 2010
  10. Junio C HamanoJul 7, 2010
  11. Jakub NarebskiJul 7, 2010
  12. Junio C HamanoJul 8, 2010
  13. Jakub NarebskiJul 8, 2010
  14. [PATCHv3/RFC] gitweb: Prepare for splitting gitwebJakub Narebski, Jul 8, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.