[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fwd: [patch] have Makefile's respect configure options]
From: |
Gary V. Vaughan |
Subject: |
[Fwd: [patch] have Makefile's respect configure options] |
Date: |
Thu, 31 Mar 2005 16:40:33 +0100 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041103) |
Hi Mike,
Thanks for the patch, I wrote a ChangeLog entry and applied.
Please send patches to address@hidden along with a ChangeLog entry next
time though!
Cheers,
Gary.
-------- Original Message --------
Subject: [patch] have Makefile's respect configure options
Date: Thu, 31 Mar 2005 10:07:55 -0500
From: Mike Frysinger <address@hidden>
Organization: wh0rd.org
To: Gary V. Vaughan <address@hidden>
find attached a small patch which changes some hardcoding of paths in
Makefile's to the paths specified by configure ... there may be others, i
just fixed the ones i happened to notice while tracking down why `./configure
--infodir=/usr/share/info` wasnt working
-mike
--
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
Use configure options rather than hard coding in Makefiles
--- m4-1.4.3/doc/Makefile.in
+++ m4-1.4.3/doc/Makefile.in
@@ -27,8 +27,7 @@
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
-prefix = @prefix@
-infodir = $(prefix)/info
+infodir = @infodir@
.SUFFIXES:
--- m4-1.4.3/Makefile.in
+++ m4-1.4.3/Makefile.in
@@ -40,8 +40,8 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
-bindir = $(exec_prefix)/bin
-infodir = $(prefix)/info
+bindir = @bindir@
+infodir = @infodir@
MDEFINES = CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' LIBS='$(LIBS)' \
prefix='$(prefix)' exec_prefix='$(exec_prefix)' \
--- m4-1.4.3/src/Makefile.in
+++ m4-1.4.3/src/Makefile.in
@@ -35,7 +35,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
transform = @program_transform_name@
-bindir = $(exec_prefix)/bin
+bindir = @bindir@
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LINK = $(CC) $(LDFLAGS) -o $@
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fwd: [patch] have Makefile's respect configure options],
Gary V. Vaughan <=