]> git.evergreen-ils.org Git - OpenSRF.git/commit
LP 799718: Pass the DESTDIR variable to setup.py
authorBen Webb <bjwebb67@googlemail.com>
Mon, 25 Jul 2011 20:40:40 +0000 (21:40 +0100)
committerDan Scott <dan@coffeecode.net>
Tue, 16 Aug 2011 13:47:59 +0000 (09:47 -0400)
commit297b3c39a5bc1f71a76b05e77999c7f1902f97bc
treea84ea3404861cd166e33cf968839b035eb4caaf5
parente9b4d9920c8c282ca1527149207452a1d7849306
LP 799718: Pass the DESTDIR variable to setup.py

This allows python modules to be built when creating packages.

Per comment from Dan Scott on the LP bug:

http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html#tag_03_266
says "Multiple successive slashes are considered to be the same as one
slash." so in theory "--root=$(DESTDIR)/" should be just as safe as
"--root=$(DESTDIR)///", but why not go the distance and use 3 slashes to
avoid any possibility of some oddball POSIX implementation that treats 2
slashes differently for some reason?

Signed-off-by: Ben Webb <bjwebb67@googlemail.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
src/python/Makefile.am