From 31a88f266c5b4e884276f92f3801eec4e1033f8d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 2 Apr 2010 13:06:35 +1100 Subject: build: nicer display of command type for prototypes and generators --- buildtools/wafsamba/samba_autoproto.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'buildtools/wafsamba/samba_autoproto.py') diff --git a/buildtools/wafsamba/samba_autoproto.py b/buildtools/wafsamba/samba_autoproto.py index ae2eb41a93..5a6460c89a 100644 --- a/buildtools/wafsamba/samba_autoproto.py +++ b/buildtools/wafsamba/samba_autoproto.py @@ -8,6 +8,7 @@ def HEIMDAL_AUTOPROTO(bld, header, source, options=None, group='prototypes'): bld.SET_BUILD_GROUP(group) if options is None: options='-q -P comment -o' + SET_TARGET_TYPE(bld, header, 'PROTOTYPE') t = bld(rule='${PERL} ../heimdal/cf/make-proto.pl ${OPTIONS} ${TGT[0].abspath(env)} ${SRC}', source=source, target=header, @@ -27,6 +28,7 @@ Build.BuildContext.HEIMDAL_AUTOPROTO_PRIVATE = HEIMDAL_AUTOPROTO_PRIVATE def SAMBA_AUTOPROTO(bld, header, source): '''rule for samba prototype generation''' bld.SET_BUILD_GROUP('prototypes') + SET_TARGET_TYPE(bld, header, 'PROTOTYPE') bld( source = source, target = header, -- cgit