Commit e4577e72 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

- Rename manpages and provide symlinks

- Fix manpages referencing A52 instead of DTS
parent 55310ee0
......@@ -3,14 +3,16 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
bin_PROGRAMS = dcadec extract_dca
dcadec_SOURCES = dcadec.c getopt.h getopt.c gettimeofday.h gettimeofday.c
dcadec_LDADD = $(top_builddir)/libdca/libdca.la \
$(top_builddir)/libao/libao.la $(LIBAO_LIBS)
dcadec_LDADD = ../libdca/libdca.la \
../libao/libao.la $(LIBAO_LIBS)
extract_dca_SOURCES = extract_dca.c getopt.c
man_MANS = dtsdec.1 extract_dts.1
EXTRA_DIST = configure.incl $(man_MANS)
man1_MANS = dcadec.1 extract_dca.1
EXTRA_DIST = configure.incl $(man1_MANS)
bin_SCRIPTS = dtsdec extract_dts
MOSTLYCLEANFILES = $(bin_SCRIPTS)
dtsdec extract_dts: Makefile
{ \
echo '#! /bin/sh' ; \
......@@ -18,3 +20,17 @@ dtsdec extract_dts: Makefile
} > $@.tmp
chmod +x $@.tmp
mv -f $@.tmp $@
install-data-hook:
for a in dcadec extract_dca; do \
oldname=`echo "$$a" | sed -e 's/ca/ts/' | sed '$(transform)'` ; \
name=`echo "$$a" | sed '$(transform)'` ; \
ln -sf "$(man1dir)/$${name}.1" "$(DESTDIR)$(man1dir)/$${oldname}.1" ; \
done
uninstall-hook:
for a in dcadec extract_dca; do \
oldname=`echo "$$a" | sed -e 's/ca/ts/' | sed '$(transform)'` ; \
unlink "$(DESTDIR)$(man1dir)/$${oldname}.1" ; \
done
.TH a52dec "1" "a52dec"
.TH dcadec "1" "dcadec"
.SH NAME
a52dec \- decode ATSC A/52 audio streams
dcadec \- decode DTS Coherent Acoustics audio streams
.SH SYNOPSIS
.B a52dec
.B dcadec
[\fI-h\fR] [\fI-s [track]\fR] [\fI-t pid\fR] [\fI-c\fR] [\fI-r\fR] [\fI-o mode\fR] [\fIfile\fR]
.SH DESCRIPTION
`a52dec' plays ATSC A/52 audio streams.
`dcadec' plays DTS Coherent Acoustics audio streams.
Input is from stdin if no file is given.
.TP
\fB\-h\fR
......@@ -34,7 +34,7 @@ Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
.br
And many others on the net.
.SH "REPORTING BUGS"
Report bugs to <liba52-devel@lists.sourceforge.net>.
Report bugs to <libdca-devel@videolan.org>.
.SH COPYRIGHT
Copyright \(co 2000-2003 Michel Lespinasse
.br
......@@ -43,4 +43,4 @@ Copyright \(co 1999-2000 Aaron Holtzman
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.SH "SEE ALSO"
.BR extract_a52 "(1)"
.BR extract_dca "(1)"
.TH extract_a52 "1" "extract_a52"
.TH extract_dca "1" "extract_dca"
.SH NAME
extract_a52 \- extract ATSC A/52 audio from a MPEG stream.
extract_dca \- extract DTS Coherent Acoustics audio from a MPEG stream.
.SH SYNOPSIS
.B extract_a52
.B extract_dca
[\fI-h\fR] [\fI-s [track]\fR] [\fI-t pid\fR] [\fIfile\fR]
.SH DESCRIPTION
`extract_a52' extracts ATSC A/52 audio from a MPEG stream.
`extract_dca' extracts DTS Coherent Acoustics audio from a MPEG stream.
Input is from stdin if no file is given.
.TP
\fB\-h\fR
......@@ -23,7 +23,7 @@ Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
.br
And many others on the net.
.SH "REPORTING BUGS"
Report bugs to <liba52-devel@lists.sourceforge.net>.
Report bugs to <libdca-devel@videolan.org>.
.SH COPYRIGHT
Copyright \(co 2000-2003 Michel Lespinasse
.br
......@@ -32,4 +32,4 @@ Copyright \(co 1999-2000 Aaron Holtzman
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.SH "SEE ALSO"
.BR a52dec "(1)"
.BR dcadec "(1)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment