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

[dm-devel] dmraid Makefile.in



CVSROOT:	/cvs/dm
Module name:	dmraid
Changes by:	zkabelac sourceware org	2010-07-13 20:23:33

Modified files:
	.              : Makefile.in 

Log message:
	Add make tags  target

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/Makefile.in.diff?cvsroot=dm&r1=1.3&r2=1.4

--- dmraid/Makefile.in	2010/07/13 19:09:04	1.3
+++ dmraid/Makefile.in	2010/07/13 20:23:33	1.4
@@ -10,7 +10,7 @@
 SUBDIRS = include lib man tools
 
 DISTCLEAN_TARGETS = autom4te.cache make.tmpl core cscope.out \
- config.cache config.log config.status
+ config.cache config.log config.status tags
 
 all: tools
 
@@ -23,3 +23,12 @@
 
 srpm:
 	rpmbuild -bs dmraid.spec
+
+ifneq ($(shell which ctags),)
+.PHONY: tags
+all: tags
+tags:
+	$(RM) -f tags
+	find $(top_srcdir) -type f \( -name '*.c' -o -name '*.h' \) | xargs ctags -a
+endif
+


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