From: <ja...@op...> - 2004-04-21 12:07:13
|
ja...@op... (Jason E. Stewart) writes: > I'm checking in some unstable code for testing on genex2 - please > don't commit or update for another 10 minutes or so until I mail the > list again. OK. I've moved all .pl.in files in the Perl/scripts directory to be just plain old .pl files. SVN will complain if you attempt to do an update because the old .pl files will be in the way so do this: $ rm Perl/scripts/* $ svn update and everthing should be fine. I've made all substitution parameters in the .pl files be runtime calls to Config.pm and they all use /usr/bin/perl in the shebang line. I added code to Install that checks if the install is using /usr/bin/perl and if so, just copy all .pl files to their installation directory as-is. If using a different interpreter then modify the shebang line during the copy. This way all Perl scripts are usable as is without needing to do a 'make substitute' - this is a big headache removed for us developers (me??) - who was far too often editing the .pl file instead of the .pl.in file and losing his changes on the next 'make substitute'. My next target are all the .in files in the Mason directory. Cheers, jas. |