File: Makefile.am

package info (click to toggle)
gst-plugins-base0.10 0.10.19-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 17,772 kB
  • ctags: 15,183
  • sloc: ansic: 107,732; sh: 9,748; makefile: 1,618; xml: 1,610; perl: 1,513; python: 424; sed: 16
file content (26 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
bin_SCRIPTS = \
	gst-visualise-@GST_MAJORMINOR@

man_MANS = \
        gst-visualise-@GST_MAJORMINOR@.1

CLEANFILES = $(man_MANS) $(bin_SCRIPTS)

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

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

# generate man pages
%-@GST_MAJORMINOR@.1: %.1.in
	sed \
                -e s,gst-visualise,gst-visualise-@GST_MAJORMINOR@,g \
                $< >$@

all: all-am chmod

chmod: $(bin_SCRIPTS)
	chmod +x $^