Skip to content

Commit

Permalink
tools: remove gst-visualise script
Browse files Browse the repository at this point in the history
Bit pointless really and clearly unused since the 0.8 days.
Also simplify Makefile while we're at it.
  • Loading branch information
tp-m committed Aug 18, 2012
1 parent 8d284f8 commit 227be98
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 123 deletions.
2 changes: 0 additions & 2 deletions tools/.gitignore
@@ -1,3 +1 @@
gst-visualise-?.*
gst-visualise-?.*.1
gst-discoverer-*
19 changes: 6 additions & 13 deletions tools/Makefile.am
@@ -1,19 +1,17 @@
bin_SCRIPTS = \
gst-visualise-@GST_API_VERSION@
bin_SCRIPTS =

man_MANS = \
gst-visualise-@GST_API_VERSION@.1 \
gst-discoverer-@GST_API_VERSION@.1

bin_PROGRAMS = \
gst-discoverer-@GST_API_VERSION@

gst_discoverer_@GST_API_VERSION@_SOURCES = gst-discoverer.c

CLEANFILES = $(man_MANS) $(bin_SCRIPTS) $(bin_PROGRAMS)
CLEANFILES = $(bin_SCRIPTS) $(bin_PROGRAMS)

EXTRA_DIST = \
gst-visualise-m.m gst-visualise.1.in gst-discoverer.1.in
gst-discoverer.1.in


LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \
Expand All @@ -24,11 +22,6 @@ LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la

AM_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)

# generate versioned scripts from templates
%-@GST_API_VERSION@: %-m.m
$(AM_V_GEN)sed -e s,\@GST_API_VERSION\@,@GST_API_VERSION@,g $< > $@ && \
chmod +x $@

# generate man pages
%-@GST_API_VERSION@.1: %.1.in
$(AM_V_GEN)sed \
Expand All @@ -38,12 +31,12 @@ AM_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
all: all-am chmod

chmod: $(bin_SCRIPTS)
@chmod +x $^
# @chmod +x $^

Android.mk: Makefile.am
androgenizer -:PROJECT gst-discoverer \
androgenizer -:PROJECT gst-discoverer-@GST_API_VERSION@ \
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
-:EXECUTABLE gst-discoverer -:TAGS eng debug \
-:EXECUTABLE gst-discoverer-@GST_API_VERSION@ -:TAGS eng debug \
-:SOURCES $(gst_discoverer_@GST_API_VERSION@_SOURCES) \
-:CFLAGS $(DEFS) $(AM_CFLAGS) \
-:LDFLAGS -lgstpbutils-@GST_API_VERSION@ -lgstvideo-@GST_API_VERSION@ \
Expand Down
File renamed without changes.
77 changes: 0 additions & 77 deletions tools/gst-visualise-m.m

This file was deleted.

31 changes: 0 additions & 31 deletions tools/gst-visualise.1.in

This file was deleted.

0 comments on commit 227be98

Please sign in to comment.