mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
pidl/wscript: only warn about grammar file changes
autobuild should protect us from having grammar files and generated files out of sync. metze
This commit is contained in:
parent
4de4703bb9
commit
ce7cb972b0
@ -64,20 +64,20 @@ def build(bld):
|
||||
bld.IS_NEWER('expr.yp', 'lib/Parse/Pidl/Expr.pm')))
|
||||
|
||||
if need_yapp_build:
|
||||
Logs.error('''
|
||||
Logs.warn('''
|
||||
Pidl grammar files have changed. Please use the pidl standalone build
|
||||
to regenerate them with yapp.
|
||||
|
||||
$ cd pidl
|
||||
$ cd ../pidl
|
||||
$ perl Makefile.PL
|
||||
$ make lib/Parse/Pidl/IDL.pm lib/Parse/Pidl/Expr.pm
|
||||
$ git add lib/Parse/Pidl/IDL.pm lib/Parse/Pidl/Expr.pm
|
||||
$ git commit
|
||||
$ cd -
|
||||
|
||||
If your 100% sure you haven't changed idl.yp and expr.yp
|
||||
try this to avoid this message:
|
||||
|
||||
$ touch lib/Parse/Pidl/IDL.pm lib/Parse/Pidl/Expr.pm
|
||||
$ touch ../pidl/lib/Parse/Pidl/IDL.pm ../pidl/lib/Parse/Pidl/Expr.pm
|
||||
''')
|
||||
sys.exit(1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user