Re: [ulogd2 PATCH 08/13] build: only conditionally enter sub-directories containing optional code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2021-10-30, at 19:15:08 +0200, Jan Engelhardt wrote:
> On Saturday 2021-10-30 18:01, Jeremy Sowden wrote:
> > diff --git a/input/Makefile.am b/input/Makefile.am
> > index 8f2e934fcdfa..668fc2b1444a 100644
> > --- a/input/Makefile.am
> > +++ b/input/Makefile.am
> > @@ -1 +1,9 @@
> > -SUBDIRS = packet flow sum
> > +if BUILD_NFCT
> > +    OPT_SUBDIR_FLOW = flow
> > +endif
> > +
> > +if BUILD_NFACCT
> > +    OPT_SUBDIR_SUM = sum
> > +endif
> > +
> > +SUBDIRS = packet $(OPT_SUBDIR_FLOW) $(OPT_SUBDIR_SUM)
>
> You use += in a previous patch, so why not use it here as well.

Just following the idiom in the documentation.

J.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux