ext/ogg/gstogmparse.c: don't pass random values to ogmparse convert function.
[platform/upstream/gstreamer.git] / tools / Makefile.am
1 bin_SCRIPTS = \
2         gst-launch-ext-@GST_MAJORMINOR@ \
3         gst-visualise-@GST_MAJORMINOR@
4
5 man_MANS = \
6         gst-launch-ext-@GST_MAJORMINOR@.1 \
7         gst-visualise-@GST_MAJORMINOR@.1
8
9 CLEANFILES = $(man_MANS) $(bin_SCRIPTS)
10
11 EXTRA_DIST = \
12         gst-launch-ext-m.m gst-visualise-m.m \
13         gst-launch-ext.1.in gst-visualise.1.in
14
15 # generate versioned scripts from templates
16 %-@GST_MAJORMINOR@: %-m.m
17         sed -e s,\@GST_MAJORMINOR\@,@GST_MAJORMINOR@,g $< > $@
18         chmod +x $@
19
20 # generate man pages
21 %-@GST_MAJORMINOR@.1: %.1.in
22         sed \
23                 -e s,gst-complete,gst-complete-@GST_MAJORMINOR@,g \
24                 -e s,gst-compprep,gst-compprep-@GST_MAJORMINOR@,g \
25                 -e s,gst-feedback,gst-feedback-@GST_MAJORMINOR@,g \
26                 -e s,gst-inspect,gst-inspect-@GST_MAJORMINOR@,g \
27                 -e s,gst-launch,gst-launch-@GST_MAJORMINOR@,g \
28                 -e s,gst-launch-ext,gst-launch-ext-@GST_MAJORMINOR@,g \
29                 -e s,gst-md5sum,gst-md5sum-@GST_MAJORMINOR@,g \
30                 -e s,gst-register,gst-register-@GST_MAJORMINOR@,g \
31                 -e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
32                 -e s,gst-visualise,gst-visualise-@GST_MAJORMINOR@,g \
33                 -e s,gst-xmllaunch,gst-xmllaunch-@GST_MAJORMINOR@,g \
34                 $< >$@
35
36 all: all-am chmod
37
38 chmod: $(bin_SCRIPTS)
39         chmod +x $^