Issue 718286: DESTDIR variable patch (original) (raw)

Issue718286

Created on 2003-04-09 14:44 by wrobell, last changed 2022-04-10 16:08 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-DESTDIR.patch wrobell,2003-04-09 14:46 DESTDIR patch
Messages (3)
msg43308 - (view) Author: wrobell (wrobell) Date: 2003-04-09 14:44
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 RPMBUILDROOTdirectory.Otherwisedistrodeveloperisforcedtospecify:makeinstallBINDIR=RPM_BUILD_ROOT directory. Otherwise distro developer is forced to specify: make install \ BINDIR=RPMBUILDROOTdirectory.Otherwisedistrodeveloperisforcedtospecify:makeinstallBINDIR=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.
msg43309 - (view) Author: wrobell (wrobell) Date: 2003-04-09 14:46
Logged In: YES user_id=387193 Adding the patch due to current sf policy.
msg43310 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-05-11 20:26
Logged In: YES user_id=21627 Thanks for the patch. Committed as Makefile.pre.in 1.125 README 1.172 NEWS 1.764
History
Date User Action Args
2022-04-10 16:08:05 admin set github: 38278
2003-04-09 14:44:13 wrobell create