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:
Jérôme Duval
2004-06-27 23:37:06 +00:00
parent a235dd1ea1
commit cec8c8b59e
+2 -1
View File
@@ -1492,7 +1492,7 @@ rule Bison
{ {
local _h ; local _h ;
_h = $(1).h ; _h = $(1:S=.hpp) ;
MakeLocate $(<) $(_h) : $(LOCATE_SOURCE) ; MakeLocate $(<) $(_h) : $(LOCATE_SOURCE) ;
@@ -1509,6 +1509,7 @@ rule Bison
actions Bison1 actions Bison1
{ {
bison $(YACCFLAGS) -o $(1[1]) $(2) bison $(YACCFLAGS) -o $(1[1]) $(2)
[ -f $(1[1]).h ] && mv $(1[1]).h $(1[2]) || true
} }
# BeOS specific rules # BeOS specific rules