[xiph-cvs] cvs commit: ao configure.in Makefile.am

Stan Seibert volsung at xiph.org
Sat Aug 4 15:36:58 PDT 2001



volsung     01/08/04 15:36:57

  Modified:    .        configure.in Makefile.am
  Log:
  Fix to put man pages in correct location depending upon prefix.
  (cut'n'paste from vorbis-tools/configure.in)

Revision  Changes    Path
1.23      +11 -0     ao/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/ao/configure.in,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- configure.in	2001/08/04 02:56:07	1.22
+++ configure.in	2001/08/04 22:36:57	1.23
@@ -85,6 +85,17 @@
 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 ==============================

1.7       +1 -1      ao/Makefile.am

Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/ao/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Makefile.am	2001/08/04 02:56:07	1.6
+++ Makefile.am	2001/08/04 22:36:57	1.7
@@ -6,7 +6,7 @@
 
 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)

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list