gstreamer/tools/Makefile.am
Antonio Ospite 2a5a8dd3c7 tools: ship the final man pages directly, no more man pages templates
Don't use templates for the man pages, the API version change is a rare
event, so it's not really worth keeping in place the "sed" boilerplate
to have it set at build time.

Shipping the final man pages directly also makes it easer to install the
man pages with meson (in a future commit).

Note that now all the occurrences of the programs names have the API
version as a suffix.

Traditionally the example command lines looked like:

  gst-launch ...

Now they look like:

  gst-launch-1.0 ...

This reflects the actual programs names and makes it easier to copy and
paste the example commands.

Also, the .gitignore file is adjusted not to ignore the final man pages
anymore.

You may need to clean your src/build directory before pulling in this
patch.

https://bugzilla.gnome.org/show_bug.cgi?id=773917
2016-11-23 09:09:05 +00:00

45 lines
1.2 KiB
Makefile

bin_PROGRAMS = \
gst-inspect-@GST_API_VERSION@ \
gst-stats-@GST_API_VERSION@ \
gst-typefind-@GST_API_VERSION@
gst_inspect_@GST_API_VERSION@_SOURCES = gst-inspect.c tools.h
gst_inspect_@GST_API_VERSION@_CFLAGS = $(GST_OBJ_CFLAGS)
gst_inspect_@GST_API_VERSION@_LDADD = $(GST_OBJ_LIBS)
gst_stats_@GST_API_VERSION@_SOURCES = gst-stats.c tools.h
gst_stats_@GST_API_VERSION@_CFLAGS = $(GST_OBJ_CFLAGS)
gst_stats_@GST_API_VERSION@_LDADD = $(GST_OBJ_LIBS)
gst_typefind_@GST_API_VERSION@_SOURCES = gst-typefind.c tools.h
gst_typefind_@GST_API_VERSION@_CFLAGS = $(GST_OBJ_CFLAGS)
gst_typefind_@GST_API_VERSION@_LDADD = $(GST_OBJ_LIBS)
if !GST_DISABLE_PARSE
bin_PROGRAMS += gst-launch-@GST_API_VERSION@
gst_launch_@GST_API_VERSION@_SOURCES = gst-launch.c tools.h
gst_launch_@GST_API_VERSION@_CFLAGS = $(GST_OBJ_CFLAGS)
gst_launch_@GST_API_VERSION@_LDADD = $(GST_OBJ_LIBS)
endif
manpages = \
gst-inspect-@GST_API_VERSION@.1 \
gst-typefind-@GST_API_VERSION@.1
if !GST_DISABLE_PARSE
manpages += gst-launch-@GST_API_VERSION@.1
endif
CLEANFILES = $(manpages) *.gcno *.gcda
man_MANS = $(manpages)
# developer helper tools, not meant for installation
noinst_SCRIPTS = gst-indent
noinst_HEADERS = tools.h
EXTRA_DIST = \
$(noinst_SCRIPTS)