Commit a57a8420 authored by Stan Seibert's avatar Stan Seibert

Fix so that manpages are consistently installed for each tool.

svn path=/trunk/vorbis-tools/; revision=1679
parent 2b854858
......@@ -74,7 +74,12 @@ dnl --------------------------------------------------
dnl Work around FHS stupidity
dnl --------------------------------------------------
AM_CONDITIONAL(PREFIX_IS_USR, test x$prefix = x"/usr")
if test "$prefix" = "/usr"; then
MANDIR='$(datadir)/man'
else
MANDIR='$(prefix)/man'
fi
AC_SUBST(MANDIR)
dnl --------------------------------------------------
dnl Do substitutions
......
......@@ -5,7 +5,7 @@ AUTOMAKE_OPTIONS = foreign
bin_PROGRAMS = ogg123
docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
doc_DATA = ogg123rc-example
mandir = $(datadir)/man
mandir = @MANDIR@
man_MANS = ogg123.1
INCLUDES = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @AO_CFLAGS@
......
......@@ -2,12 +2,7 @@
AUTOMAKE_OPTIONS = foreign
if PREFIX_IS_USR
mandir = $(datadir)/man
else
mandir = $(prefix)/man
endif
mandir = @MANDIR@
man_MANS = oggenc.1
EXTRA_DIST = $(man_MANS)
......@@ -3,7 +3,7 @@
AUTOMAKE_OPTIONS = foreign
bin_PROGRAMS = ogginfo
mandir = $(datadir)/man
mandir = @MANDIR@
man_MANS = ogginfo.1
INCLUDES = @OGG_CFLAGS@ @VORBIS_CFLAGS@
......
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