|> patch against 2.2.13
|> --- Makefile-2.2.13 Wed Nov 24 19:59:54 1999
|> +++ Makefile Wed Nov 24 20:00:34 1999
|> @@ -303,6 +303,16 @@
|> fs lib mm ipc kernel drivers net: dummy
|> $(MAKE) $(subst $@, _dir_$@, $@)
|>
|> +tags: dummy
|> + ctags `find include/asm-$(ARCH) -name '*.h'`
|> + for d in `ls include/. | egrep -v '^(asm|config)'`; do find include/$$d -name '*.h' | xargs ctags -a; done
You can optimize this a bit by moving the xargs command outside the loop.
Or just remove the loop at all:
find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs ctags -a
Andreas.
-- Andreas Schwab "And now for something SuSE Labs completely different." schwab@suse.de SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg- 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/