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

Re: bug: git-sh-setup should not be in $PATH

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 6, 2006, 15:56 UTC
Message-ID
<200612061656.55888.jnareb@gmail.com>
In-Reply-To
<4576E38F.1020404@xs4all.nl>
Dnia środa 6. grudnia 2006 16:36, Han-Wen Nienhuys napisał:
> Jakub Narebski escreveu:
[...]
Show 13 quoted lines
>>>>> +  if test -f $srcdir/$d/Makefile ; then
>   [..]
>>>>> +    echo creating $d/Makefile
>>>>> +    cat << EOF> $d/Makefile
> 
>>>> This part IMHO has no sense, and has no place here.
>> 
>> If you want to create or modify Makefiles, do that. Not generate
>> "minimal" Makefiles in every and each subdirectory.
> 
> Look more closely at the patch. It only generates Makefiles in 
> directories that have makefiles in the source dir. The makefiles are
> short because that is the easiest to do.

The fact that I didn't understood what this part of patch is meant to do should be the big hint that this commit needs some longer commit message explaining purpose of such mess.

I still don't understand what this part do (and how come it is in configure.ac which should be _only_ about generating config.mak.autogen Makefile configuration file and _not_ about generating Makefiles). You want what sequence of commands to work?

  $ $srcdir/configure --srcdir=$srcdir
  $ make -D $srcdir
  $ make -D $srcdir DESTDIR=$DESTDIR install
or what? Why this part is needed?
Once again: git is NOT autotool'ed project. And shouldn't be.
> I'm happy to amend the patch, but I can't properly test
> it until the perl problem gets sorted out. 
I'll be waiting.
-- 
Jakub Narebski
Previous: Han-Wen NienhuysNext: Han-Wen Nienhuys
Message 10 of 17 in “bug: git-sh-setup should not be in $PATH”
  1. Han-Wen NienhuysDec 6, 2006
  2. Johannes SchindelinDec 6, 2006
  3. Han-Wen NienhuysDec 6, 2006
  4. Jakub NarebskiDec 6, 2006
  5. Han-Wen NienhuysDec 6, 2006
  6. Jakub NarebskiDec 6, 2006
  7. Han-Wen NienhuysDec 6, 2006
  8. Jakub NarebskiDec 6, 2006
  9. Han-Wen NienhuysDec 6, 2006
  10. Jakub NarebskiDec 6, 2006
  11. Han-Wen NienhuysDec 6, 2006
  12. Jakub NarebskiDec 6, 2006
  13. Han-Wen NienhuysDec 6, 2006
  14. Jakub NarebskiDec 6, 2006
  15. Han-Wen NienhuysDec 6, 2006
  16. Jakub NarebskiDec 6, 2006
  17. Andreas EricssonDec 7, 2006

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.