Issue1520879
Created on 2006-07-11 23:56 by dgreiman, last changed 2009-03-30 05:05 by ajaksu2.
| File name |
Uploaded |
Description |
Edit |
Remove |
|
relative_destdir_fix.diff
|
dgreiman,
2006-07-11 23:56
|
Patch to Makefile.pre.in (r50594) |
|
|
|
msg50662 - (view) |
Author: Douglas Greiman (dgreiman) |
Date: 2006-07-11 23:56 |
|
This patch allows the $DESTDIR variable used in 'make
install' to be a relative path. It also avoids
constructing filenames starting with double slashes
('//') when DESTDIR is an absolute path.
Tested on RedHat 9.0 Linux on x86.
|
|
msg50663 - (view) |
Author: Chad Whitacre (whit537) |
Date: 2006-07-31 21:13 |
|
Logged In: YES
user_id=340931
I'd also like to see the argument to 'configure --prefix='
also be relative. Could this patch be expanded in that
direction?
|
|
msg50664 - (view) |
Author: Douglas Greiman (dgreiman) |
Date: 2006-07-31 23:03 |
|
Logged In: YES
user_id=1553997
That seems reasonable, however I believe it should be a
separate change since codewise the two changes are unrelated.
|
|
msg50665 - (view) |
Author: Han-Wen Nienhuys (hanwen) |
Date: 2006-12-05 23:45 |
|
Agreed. I have never seen $DESTDIR prefixed with / in makefiles, so this patch should go in.
I don't see the point of making --prefix relative.
you can do
--prefix=`cd ../relative ; pwd`
if you need relative.
Putting relative paths in makefiles is asking for trouble, as the Makefile will call other makefiles in subdirectories, which would need to pass extra ../ overrides of prefix.
|
|
| Date |
User |
Action |
Args |
| 2009-03-30 05:05:49 | ajaksu2 | set | stage: test needed type: feature request versions:
+ Python 3.1, Python 2.7, - Python 2.5 |
| 2006-07-11 23:56:10 | dgreiman | create | |
|