Adding support for ctags as target in the main Makefile

Christoph Frick frick at SC-Networks.de
Sat Jan 4 08:02:34 CST 2003


ChangeLog:
	- Makefile.in
	  creation of a tags file with the ctags tool


Index: Makefile.in
===================================================================
RCS file: /home/wine/wine/Makefile.in,v
retrieving revision 1.136
diff -u -r1.136 Makefile.in
--- Makefile.in	12 Dec 2002 22:03:14 -0000	1.136
+++ Makefile.in	4 Jan 2003 13:30:13 -0000
@@ -146,6 +146,9 @@
 TAGS etags:
 	etags `find $(TOPSRCDIR) -name '*.[ch]' -a -not -name '*.spec.c' -a -not -name '*.glue.c' -a -not -name '*.dbg.c' -print`
 
+tags ctags:
+	ctags --c-types=+px `find $(TOPSRCDIR) -name '*.[ch]' -a -not -name '*.spec.c' -a -not -name '*.glue.c' -a -not -name '*.dbg.c' -print`
+
 manpages:
 	$(MKINSTALLDIRS) $(TOPOBJDIR)/documentation/man3w
 	for i in $(SUBDIRS); do (cd $$i && $(MAKE) man); done
@@ -158,7 +161,7 @@
 	$(RM) wine
 
 distclean: clean
-	$(RM) config.* configure.lineno TAGS Make.rules dlls/Makedll.rules dlls/Maketest.rules programs/Makeprog.rules include/config.h
+	$(RM) config.* configure.lineno TAGS tags Make.rules dlls/Makedll.rules dlls/Maketest.rules programs/Makeprog.rules include/config.h
 	$(RM) -r autom4te.cache
 	$(RM) `find . \( -name Makefile -o -size 0 \) -print`





More information about the wine-patches mailing list