[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building XFree86 3.3.6 in -current



Joshua Krage writes:

 > Has anyone else experienced this?  Should I have set DESTDIR prior to
 > starting the build?  I'm looking for a sanity check here. :)

I brought this up earlier.  The real problem is that the Makefile
sets DESTDIR to something that Todd Fries (the person who generates
releases) likes because he sometimes forgets to set it otherwise.

If the "release" target was the only thing that used the DESTDIR
target that might be OK.

My solution is to apply the following patch to the Makefile.  If I
make a local release (which I sometimes do) I set RELEASEDIR and
DESTDIR to what I want them to be, anyway.

// marc

Index: Makefile
===================================================================
RCS file: /cvs/X11/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile	1999/10/29 06:08:25	1.20
+++ Makefile	2000/01/11 23:00:08
@@ -25,10 +25,6 @@ RM?= /bin/rm
 
 MACHINE?=`uname -m`
 
-# Some defaults.
-RELEASEDIR?=`/bin/pwd`/rel
-DESTDIR?=`/bin/pwd`/dest
-
 all:
 	${RM} -f ${CONFHOSTDEF}
 	${CP} ${HOSTDEF} ${CONFHOSTDEF}