Hi,

I have often the problem to switch between prefork and worker MPM. So I 
thought of using a separate build directory for each MPM while having a 
common source directory. This led to the attached script.

It creates 3 directories, mymodperl, mymodperl-worker, mymodperl-prefork, 
checks http://svn.apache.org/repos/asf/perl/modperl/trunk out to mymodperl 
and symlinks all files from mymodperl to mymodperl-worker and -prefork. Now 
you can in each of mymodperl-* run "perl Makefile.PL 
MP_APXS=/opt/apache22-worker/sbin/apxs ... && make test"

Files are changed in the mymodperl directory. When new files or directories 
are added just rerun the script.

Torsten

Attachment: build-directory
Description: application/shellscript

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to