From cec8c8b59ec3338d2058cc3df66477d016a7cf7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 27 Jun 2004 23:37:06 +0000 Subject: [PATCH] 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 --- Jamrules | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Jamrules b/Jamrules index 95f1b33c5c..b63b4ce5b0 100644 --- a/Jamrules +++ b/Jamrules @@ -1492,13 +1492,13 @@ rule Bison { local _h ; - _h = $(1).h ; + _h = $(1:S=.hpp) ; MakeLocate $(<) $(_h) : $(LOCATE_SOURCE) ; - Depends $(<) $(_h) : $(>) ; - Bison1 $(<) $(_h) : $(>) ; - LocalClean clean : $(<) $(_h) ; + Depends $(<) $(_h) : $(>) ; + Bison1 $(<) $(_h) : $(>) ; + LocalClean clean : $(<) $(_h) ; # make sure someone includes $(_h) else it will be # a deadly independent target @@ -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