[xiph-cvs] cvs commit: vorbis-tools/oggenc/man Makefile.am

Jack Moffitt jack at xiph.org
Sun Feb 25 21:56:46 PST 2001



jack        01/02/25 21:56:46

  Modified:    .        configure.in
               oggenc/man Makefile.am
  Log:
  fix for manpages.  someone tell whoever is reponsible for FHS that they
  suck.

Revision  Changes    Path
1.18      +6 -0      vorbis-tools/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/configure.in,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- configure.in	2001/02/26 05:02:18	1.17
+++ configure.in	2001/02/26 05:56:46	1.18
@@ -70,6 +70,12 @@
 dnl none
 
 dnl --------------------------------------------------
+dnl Work around FHS stupidity
+dnl --------------------------------------------------
+
+AM_CONDITIONAL(PREFIX_IS_USR, test x$prefix = x"/usr")
+
+dnl --------------------------------------------------
 dnl Do substitutions
 dnl --------------------------------------------------
 

1.3       +5 -0      vorbis-tools/oggenc/man/Makefile.am

Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/man/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile.am	2000/11/18 05:36:32	1.2
+++ Makefile.am	2001/02/26 05:56:46	1.3
@@ -2,7 +2,12 @@
 
 AUTOMAKE_OPTIONS = foreign
 
+if PREFIX_IS_USR
 mandir = $(datadir)/man
+else
+mandir = $(prefix)/man
+endif
+
 man_MANS = oggenc.1
 
 EXTRA_DIST = $(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