From b0567405f03df01497a63c6726f2290033f08c91 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Tue, 10 Sep 2013 19:52:41 -0700 Subject: [PATCH] gtk: Add tags target to Makefile.in. Delete Tags.sh file. --- src/gtk/Makefile.in | 8 +++++++- src/gtk/Tags.sh | 7 ------- 2 files changed, 7 insertions(+), 8 deletions(-) delete mode 100755 src/gtk/Tags.sh diff --git a/src/gtk/Makefile.in b/src/gtk/Makefile.in index d64bfacfb..554634811 100644 --- a/src/gtk/Makefile.in +++ b/src/gtk/Makefile.in @@ -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 index 54c42828d..000000000 --- a/src/gtk/Tags.sh +++ /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 -- 2.25.1