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 ...@@ -3,14 +3,16 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
bin_PROGRAMS = dcadec extract_dca bin_PROGRAMS = dcadec extract_dca
dcadec_SOURCES = dcadec.c getopt.h getopt.c gettimeofday.h gettimeofday.c dcadec_SOURCES = dcadec.c getopt.h getopt.c gettimeofday.h gettimeofday.c
dcadec_LDADD = $(top_builddir)/libdca/libdca.la \ dcadec_LDADD = ../libdca/libdca.la \
$(top_builddir)/libao/libao.la $(LIBAO_LIBS) ../libao/libao.la $(LIBAO_LIBS)
extract_dca_SOURCES = extract_dca.c getopt.c extract_dca_SOURCES = extract_dca.c getopt.c
man_MANS = dtsdec.1 extract_dts.1 man1_MANS = dcadec.1 extract_dca.1
EXTRA_DIST = configure.incl $(man_MANS) EXTRA_DIST = configure.incl $(man1_MANS)
bin_SCRIPTS = dtsdec extract_dts bin_SCRIPTS = dtsdec extract_dts
MOSTLYCLEANFILES = $(bin_SCRIPTS)
dtsdec extract_dts: Makefile dtsdec extract_dts: Makefile
{ \ { \
echo '#! /bin/sh' ; \ echo '#! /bin/sh' ; \
...@@ -18,3 +20,17 @@ dtsdec extract_dts: Makefile ...@@ -18,3 +20,17 @@ dtsdec extract_dts: Makefile
} > $@.tmp } > $@.tmp
chmod +x $@.tmp chmod +x $@.tmp
mv -f $@.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 .SH NAME
a52dec \- decode ATSC A/52 audio streams dcadec \- decode DTS Coherent Acoustics audio streams
.SH SYNOPSIS .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] [\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 .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. Input is from stdin if no file is given.
.TP .TP
\fB\-h\fR \fB\-h\fR
...@@ -34,7 +34,7 @@ Aaron Holtzman <aholtzma@ess.engr.uvic.ca> ...@@ -34,7 +34,7 @@ Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
.br .br
And many others on the net. And many others on the net.
.SH "REPORTING BUGS" .SH "REPORTING BUGS"
Report bugs to <liba52-devel@lists.sourceforge.net>. Report bugs to <libdca-devel@videolan.org>.
.SH COPYRIGHT .SH COPYRIGHT
Copyright \(co 2000-2003 Michel Lespinasse Copyright \(co 2000-2003 Michel Lespinasse
.br .br
...@@ -43,4 +43,4 @@ Copyright \(co 1999-2000 Aaron Holtzman ...@@ -43,4 +43,4 @@ Copyright \(co 1999-2000 Aaron Holtzman
This is free software; see the source for copying conditions. There is NO This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.SH "SEE ALSO" .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 .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 .SH SYNOPSIS
.B extract_a52 .B extract_dca
[\fI-h\fR] [\fI-s [track]\fR] [\fI-t pid\fR] [\fIfile\fR] [\fI-h\fR] [\fI-s [track]\fR] [\fI-t pid\fR] [\fIfile\fR]
.SH DESCRIPTION .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. Input is from stdin if no file is given.
.TP .TP
\fB\-h\fR \fB\-h\fR
...@@ -23,7 +23,7 @@ Aaron Holtzman <aholtzma@ess.engr.uvic.ca> ...@@ -23,7 +23,7 @@ Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
.br .br
And many others on the net. And many others on the net.
.SH "REPORTING BUGS" .SH "REPORTING BUGS"
Report bugs to <liba52-devel@lists.sourceforge.net>. Report bugs to <libdca-devel@videolan.org>.
.SH COPYRIGHT .SH COPYRIGHT
Copyright \(co 2000-2003 Michel Lespinasse Copyright \(co 2000-2003 Michel Lespinasse
.br .br
...@@ -32,4 +32,4 @@ Copyright \(co 1999-2000 Aaron Holtzman ...@@ -32,4 +32,4 @@ Copyright \(co 1999-2000 Aaron Holtzman
This is free software; see the source for copying conditions. There is NO This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.SH "SEE ALSO" .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