Skip to content
Snippets Groups Projects
Commit d349fa65 authored by Stan Seibert's avatar Stan Seibert
Browse files

Fix to put man pages in correct location depending upon prefix.

(cut'n'paste from vorbis-tools/configure.in)


git-svn-id: http://svn.xiph.org/trunk/ao@1680 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent 3c4067b9
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ SUBDIRS = src include doc debian
m4datadir = $(datadir)/aclocal
m4data_DATA = ao.m4
mandir = @MANDIR@
man_MANS = libao.conf.5
EXTRA_DIST = README AUTHORS CHANGES COPYING libao.spec ao.m4 acinclude.m4 $(man_MANS)
......
......@@ -85,6 +85,17 @@ dnl ==============================
dnl Checks for header files
dnl ==============================
dnl --------------------------------------------------
dnl Work around FHS stupidity
dnl --------------------------------------------------
if test "$prefix" = "/usr"; then
MANDIR='$(datadir)/man'
else
MANDIR='$(prefix)/man'
fi
AC_SUBST(MANDIR)
dnl ==============================
dnl Checks for types
dnl ==============================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment