This should be a bit nicer: Just maintain the grist of the supplied
target instead of using the one from the current subdir. Should make no difference in practice but is more correct this way. BTW, fixes should rather go into a fixes branch to keep them separate from new/changed features that won't be included into Perforce jam. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7996 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0e3f14ee1d
commit
8485888933
@ -1498,7 +1498,7 @@ rule Yacc
|
||||
{
|
||||
local _h ;
|
||||
|
||||
_h = [ FGristFiles $(<:BS=.h) ] ;
|
||||
_h = $(<:S=.h) ;
|
||||
|
||||
# Some places don't have a yacc.
|
||||
|
||||
|
@ -848,7 +848,7 @@ const char *jambase[] = {
|
||||
"rule Yacc\n",
|
||||
"{\n",
|
||||
"local _h ;\n",
|
||||
"_h = $(<:BS=.h) ;\n",
|
||||
"_h = $(<:S=.h) ;\n",
|
||||
"MakeLocate $(<) $(_h) : $(LOCATE_SOURCE) ;\n",
|
||||
"if $(YACC)\n",
|
||||
"{\n",
|
||||
|
Loading…
Reference in New Issue
Block a user