make tags / make ctags broken

Russ Allbery rra at
Wed Jun 30 17:17:43 UTC 2010

Florian Schlichting <fschlich at CIS.FU-Berlin.DE> writes:

> I just noticed that the 'tags' and 'ctags' make targets are broken. The
> root Makefile wants to iterate over $(ALLDIRS) and can't find the
> targets in the following sub-Makefiles:

> control/Makefile
> innfeed/Makefile -- has tags but not ctags target
> perl/Makefile
> samples/Makefile
> scripts/Makefile

> In order for 'make ctags' to not error out, tags and ctags targets would
> at least have to exist empty, as in doc/Makefile.

> Another thing is that defines the CTAGS command as
> "ctags -t -w", using old UNIX ctags option names that more current
> implementations such as vim's exuberant-ctags (GNU ctags) don't
> understand. Then again with exuberant-ctags I can just do "ctags -R"
> once and don't necessarily need the make infrastructure to lift the
> burden of executing a command in every source directory.

> So I don't know if it's better to fix or remove the whole thing, but I
> thought I'd say that it's broken the way it is now...

I suspect you're the first person to run that command in a while, so if
there's now a better way that doesn't require Makefile infrastructure, I
vote for just removing it.

Russ Allbery (rra at             <>

    Please send questions to the list rather than mailing me directly.
     <> explains why.

More information about the inn-workers mailing list