2004-03-10 12:35:44 +00:00
|
|
|
bin_SCRIPTS = \
|
|
|
|
gst-visualise-@GST_MAJORMINOR@
|
2002-02-08 11:15:45 +00:00
|
|
|
|
2004-03-10 12:35:44 +00:00
|
|
|
man_MANS = \
|
|
|
|
gst-visualise-@GST_MAJORMINOR@.1
|
2002-03-01 15:46:26 +00:00
|
|
|
|
2004-03-10 12:48:37 +00:00
|
|
|
CLEANFILES = $(man_MANS) $(bin_SCRIPTS)
|
2004-03-10 12:35:44 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2005-12-09 10:23:42 +00:00
|
|
|
gst-visualise-m.m gst-visualise.1.in
|
2004-03-10 12:35:44 +00:00
|
|
|
|
|
|
|
# generate versioned scripts from templates
|
|
|
|
%-@GST_MAJORMINOR@: %-m.m
|
|
|
|
sed -e s,\@GST_MAJORMINOR\@,@GST_MAJORMINOR@,g $< > $@
|
|
|
|
chmod +x $@
|
2004-03-09 16:36:30 +00:00
|
|
|
|
2004-03-10 12:35:44 +00:00
|
|
|
# generate man pages
|
|
|
|
%-@GST_MAJORMINOR@.1: %.1.in
|
|
|
|
sed \
|
|
|
|
-e s,gst-visualise,gst-visualise-@GST_MAJORMINOR@,g \
|
|
|
|
$< >$@
|
|
|
|
|
|
|
|
all: all-am chmod
|
2004-03-09 16:36:30 +00:00
|
|
|
|
|
|
|
chmod: $(bin_SCRIPTS)
|
|
|
|
chmod +x $^
|