[Patches] [ python-Patches-718286 ] DESTDIR variable patch
SourceForge.net
noreply@sourceforge.net
Wed, 09 Apr 2003 07:46:47 -0700
Patches item #718286, was opened at 2003-04-09 16:44
Message generated for change (Comment added) made by wrobell
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=718286&group_id=5470
Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: wrobell (wrobell)
Assigned to: Nobody/Anonymous (nobody)
Summary: DESTDIR variable patch
Initial Comment:
This patch adds DESTDIR variable feature known from
automake generated Makefile's. It simplifies packaging
task and is useful for distro (i.e. PLD, RedHat,
Debian) developers.
For example, for rpm, one can specify in %install section:
make install DESTDIR=$RPM_BUILD_ROOT
then Python will be installed under $RPM_BUILD_ROOT
directory.
Otherwise distro developer is forced to specify:
make install \
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
SCRIPTDIR=$RPM_BUILD_ROOT%{_libdir} \
LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
MANDIR=$RPM_BUILD_ROOT%{_mandir} \
INCLUDEDIR=$RPM_BUILD_ROOT%{_includedir} \
CONFINCLUDEDIR=$RPM_BUILD_ROOT%{_includedir}
The patch has been tested on Linux.
----------------------------------------------------------------------
>Comment By: wrobell (wrobell)
Date: 2003-04-09 16:46
Message:
Logged In: YES
user_id=387193
Adding the patch due to current sf policy.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=718286&group_id=5470