[barcode] Pathnames from ./configure

Daniel Macks dmacks@netspace.org
Tue, 11 Feb 2003 01:20:04 -0500 (EST)


Currently, ./configure does not propagate the --*dir=DIR flags into the
generated Makefile. This is a problem for systems that (for example) want
manpages in share/man. Using automake would take care of this, but so 
should the following patch to Makefile.in (against CVS version 1.16)...

--- Makefile.in.orig    2003-02-11 00:33:48.000000000 -0500
+++ Makefile.in 2003-02-11 01:16:22.000000000 -0500
@@ -11,12 +11,14 @@
 LDFLAGS = -L. -l$(TARGET) @LIBPAPER@
 
 prefix = @prefix@
-BINDIR = $(prefix)/bin
-LIBDIR = $(prefix)/lib
-INCDIR = $(prefix)/include
-MAN1DIR = $(prefix)/man/man1
-MAN3DIR = $(prefix)/man/man3
-INFODIR = $(prefix)/info
+exec_prefix = @exec_prefix@
+BINDIR = @bindir@
+LIBDIR = @libdir@
+INCDIR = @includedir@
+mandir = @mandir@
+MAN1DIR = $(mandir)/man1
+MAN3DIR = $(mandir)/man3
+INFODIR = @infodir@
 
 # getopt may be installed or not, if not take our copy
 GETOPT_O = @GETOPT_O@




-- 
Daniel Macks
dmacks@sas.upenn.edu
dmacks@netspace.org
http://www.netspace.org/~dmacks