moved from .cpp.h to .hpp for bison generated header, still compatible with R5 bison
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8208 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1492,7 +1492,7 @@ rule Bison
|
||||
{
|
||||
local _h ;
|
||||
|
||||
_h = $(1).h ;
|
||||
_h = $(1:S=.hpp) ;
|
||||
|
||||
MakeLocate $(<) $(_h) : $(LOCATE_SOURCE) ;
|
||||
|
||||
@@ -1509,6 +1509,7 @@ rule Bison
|
||||
actions Bison1
|
||||
{
|
||||
bison $(YACCFLAGS) -o $(1[1]) $(2)
|
||||
[ -f $(1[1]).h ] && mv $(1[1]).h $(1[2]) || true
|
||||
}
|
||||
|
||||
# BeOS specific rules
|
||||
|
||||
Reference in New Issue
Block a user