mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 14:11:15 +00:00
0c4e4f25ae
We're not providing a wrapper like we do for the tools in core, since wrappers are confusing (e.g. for debugging purposes), mostly pointless (since the API is likely to change between major versions), and cause packaging issues when packages for two different major versions are to be installed in parallel. https://bugzilla.gnome.org/show_bug.cgi?id=633023
38 lines
953 B
Makefile
38 lines
953 B
Makefile
bin_SCRIPTS = \
|
|
gst-visualise-@GST_MAJORMINOR@
|
|
|
|
man_MANS = \
|
|
gst-visualise-@GST_MAJORMINOR@.1
|
|
|
|
bin_PROGRAMS = \
|
|
gst-discoverer-@GST_MAJORMINOR@
|
|
|
|
gst_discoverer_@GST_MAJORMINOR@_SOURCES = gst-discoverer.c
|
|
|
|
CLEANFILES = $(man_MANS) $(bin_SCRIPTS) $(bin_PROGRAMS)
|
|
|
|
EXTRA_DIST = \
|
|
gst-visualise-m.m gst-visualise.1.in
|
|
|
|
|
|
LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_MAJORMINOR@.la\
|
|
$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_MAJORMINOR@.la\
|
|
$(GST_BASE_LIBS) $(GST_LIBS)
|
|
|
|
AM_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
|
|
|
# generate versioned scripts from templates
|
|
%-@GST_MAJORMINOR@: %-m.m
|
|
$(AM_V_GEN)sed -e s,\@GST_MAJORMINOR\@,@GST_MAJORMINOR@,g $< > $@ && \
|
|
chmod +x $@
|
|
|
|
# generate man pages
|
|
%-@GST_MAJORMINOR@.1: %.1.in
|
|
$(AM_V_GEN)sed \
|
|
-e s,gst-visualise,gst-visualise-@GST_MAJORMINOR@,g \
|
|
$< >$@
|
|
|
|
all: all-am chmod
|
|
|
|
chmod: $(bin_SCRIPTS)
|
|
@chmod +x $^
|