gtk: Add tags target to Makefile.in. Delete Tags.sh file.
authorMatt Birkholz <matt@birkholz.chandler.az.us>
Wed, 11 Sep 2013 02:52:41 +0000 (19:52 -0700)
committerMatt Birkholz <matt@birkholz.chandler.az.us>
Wed, 11 Sep 2013 02:52:41 +0000 (19:52 -0700)
src/gtk/Makefile.in
src/gtk/Tags.sh [deleted file]

index d64bfacfbd3b6f4a51b1b99e2ed1d168dc7d4edf..55463481156d2136f53b758891ca83781fdc5034 100644 (file)
@@ -53,6 +53,12 @@ maintainer-clean: distclean
        rm -f configure config.h.in
        rm -rf autom4te.cache
 
+tags:
+       etags *.h \
+           `echo *.c   | sed 's/ gtk-const.c//; s/ gtk-shim.c//'` \
+           `echo *.scm | sed 's/ gtk-const.scm//'` \
+           -r '/^([^iI].*/' Includes/*.cdecl
+
 gtk-shim.so: gtk-shim.o gtkpanedview.o gtkscrolledview.o scmwidget.o gtkio.o
        echo "(link-shim)" | $(EXE) -- $(LDFLAGS) -o $@ $^ $(LIBS) \
                        `pkg-config --libs gtk+-3.0 gthread-2.0`
@@ -89,4 +95,4 @@ gtk-const: gtk-const.o
 gtk-const.o: gtk-const.c gtk-shim.h
        $(CC) $(CPPFLAGS) `pkg-config --cflags gtk+-3.0` $(CFLAGS) -c $<
 
-.PHONY: all check install clean distclean maintainer-clean
+.PHONY: all check install clean distclean maintainer-clean tags
diff --git a/src/gtk/Tags.sh b/src/gtk/Tags.sh
deleted file mode 100755 (executable)
index 54c4282..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-# Utility to make TAGS file for the gtk build directory.
-# The working directory must be the build directory.
-
-etags gtk-shim.h scmwidget.c.stay `echo *.scm | sed 's/ gtk-const.scm//'` \
-       --language=scheme Includes/*.cdecl