Re: [ulogd2 PATCH 02/13] gitignore: ignore util/.dirstamp

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

 



On 2021-10-30, at 19:05:34 +0200, Jan Engelhardt wrote:
> On Saturday 2021-10-30 18:01, Jeremy Sowden wrote:
> > Signed-off-by: Jeremy Sowden <jeremy@xxxxxxxxxx>
> > ---
> >  .gitignore | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/.gitignore b/.gitignore
> > index 3f218218dfc9..fd2189de5748 100644
> > --- a/.gitignore
> > +++ b/.gitignore
> > @@ -27,3 +27,4 @@ TAGS
> >  /doc/ulogd.*
> >  !/doc/ulogd.sgml
> >  ulogd.conf.5
> > +/util/.dirstamp
>
> .dirstamp should be globally ignored, without a path anchor.

Will update in v2.

> (Best shotgun hypothesis I have that this file is created whenever
> a Makefile.am contains a '/' in some _SOURCES)

Yes, if the `subdir-objects` automake option is defined and there is a
source outside the current source directory (../../utils/db.c,
../util/printpkt.c and ../util/printflow.c, in this case), automake adds
a rule to create .dirstamp in order to make sure that the corresponding
build directory gets created.

J.

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux