diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-24 08:23:48 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-24 08:23:48 +0000 |
commit | e3f40cf939ab53b94ab56262869ebaa0c5039be9 (patch) | |
tree | 6c4bee663200df9b6bbe6af9b1abad13766c5985 /configure | |
parent | c9ab15ec9b1dc34cb6e30d5d299b059dd6b501a5 (diff) |
Patch by Dominik Mierzejewski:
The first one makes CONFDIR work correctly at last
and the second adds DESTDIR to ./configure, so that it generates
a relocateable Makefile and then a packager needs only to do
make DESTDIR=$RPM_BUILD_ROOT install
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6546 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -4002,10 +4002,11 @@ cat > config.mak << EOF LANG = C TARGET_OS = $system_name -prefix = $_prefix -DATADIR = $_datadir -CONFDIR = $_confdir -LIBDIR = $_libdir +DESTDIR = +prefix = \$(DESTDIR)$_prefix +DATADIR = \$(DESTDIR)$_datadir +CONFDIR = \$(DESTDIR)$_confdir +LIBDIR = \$(DESTDIR)$_libdir #AR = ar CC = $_cc AWK = $_awk |