Re: [PATCH] make tags

Oliver Xymoron (oxymoron@waste.org)
Fri, 5 Nov 1999 16:46:57 -0600 (CST)


On 30 Oct 1999, lars brinkhoff wrote:

> Patch against Linux 2.3.24. It provides two new make targets:
> tags and tags-no-drivers. They will produce TAGS files with
> and without the source files in drivers, respectively.

I think it would be more correct to call the targets etags, since they're
emacs-specific. Even though emacs is the one true editor, editor choice is
orthogonal to kernel development. Other than that, it's a fine idea.

> +tags-no-drivers:
> + rm -f TAGS
> + find `echo $(TAGS_DIRS) | sed -e 's/drivers//'` -name '*.[chsS]' | \
> + xargs etags -a
> +
> +tags: tags-no-drivers
> + find drivers -name '*.[chsS]' | xargs etags -a

--
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/