LP#1631520: configure install location of Perl modules Add --with-perlbase configure option to specify an alternative location for installing the Perl modules. This can be useful for setups that want to run the Perl modules from a shared filesystem or environments that need to run multiple versions of OpenSRF simultaneously. Users of --with-perlbase are responsible for ensuring that PERL5LIB is set appropriately. To test ------- [1] Use --with-perlbase during the configure step, e.g., ./configure --perl-base /tmp/perl [2] Run make; make check; sudo make install [3] Verify that the Perl modules are installed under /tmp/perl. [4] Make a change to a Perl source file, then go to src/perl, then run sudo ./Build install. Verify that it remembers the --with-perlbase directory and installs the updated module there. Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Respect DESTDIR during the build process Replace instances of make with the generic $(MAKE) Add $(DESTDIR) to paths it is currently missing from Manually specify the apxs2 install location so that DESTDIR can be prepended Attempt to create the apache directory if it does not exist Signed-off-by: Ben Webb <bjwebb67@googlemail.com> Signed-off-by: Dan Scott <dan@coffeecode.net>
Teach Perl Makefile to build Build for every target With the previous Perl Makefile.am, running "make check" before running "make all" would fail on the Perl directory because it assumed that Build would have been created from Build.PL. Factoring out the build of Build from Build.PL and making that a prereq of the pertinent targets avoids that problem on a clean checkout of the OpenSRF source. Signed-off-by: Dan Scott <dan@coffeecode.net>
'make check' works as promised. perl tests moved to 'check' target git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1746 9efc2488-bf62-4759-914b-345cdb29e865
added separate install fail diagnostic message git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1743 9efc2488-bf62-4759-914b-345cdb29e865
'make' will now just plain make again without proceeding to install. Added Build to files swept by 'make clean' git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1741 9efc2488-bf62-4759-914b-345cdb29e865
Added DISTCLEANFILES to make "make distclean" work better git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1739 9efc2488-bf62-4759-914b-345cdb29e865
M::B changes git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1735 9efc2488-bf62-4759-914b-345cdb29e865
initial checkin for perl Makefile.am git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1629 9efc2488-bf62-4759-914b-345cdb29e865