Andrew Johnson
05f07d9ec8
tools/DBD: Improve error reporting
...
Better 'duplicate choice' message
Output messages to STDERR
2012-06-27 11:58:23 -05:00
Andrew Johnson
0ea56b82b8
Delete filterWarnings.pl script
...
Was only used on HPUX which we don't support any more.
2012-04-12 10:34:56 -05:00
Andrew Johnson
5d5aa57d72
tools: Add -q (quiet) flag to installEpics.pl
...
The -q flag now gets used when the GNUmake '-s' flag is provided.
This change also includes a cleanup of the installEpics.pl script.
2012-04-04 12:30:27 -05:00
Andrew Johnson
de6d7b2cf0
Merged compiled-dbd branch.
...
This does all DBD-file processing at build-time in Perl scripts.
The result should behave almost identically to the old programs.
2012-04-04 12:07:46 -05:00
Andrew Johnson
f1994996ad
Convert registerRecordDeviceDriver.pl to use DBD module.
...
The output is now a bit more compact as it uses Text::Wrap on
the declarations and array data.
2012-03-27 10:47:59 -05:00
Andrew Johnson
116f0fd00c
Run the tools/test files under the test harness
2012-03-14 15:27:40 -05:00
Andrew Johnson
d3d8418855
Move src/dbHost scripts and modules into src/tools.
2012-03-13 18:00:46 -05:00
Andrew Johnson
bf965cc59c
Merged changes from 3.14 branch.
...
Includes all changes up to rev 12323 on 2012-02-20.
2012-02-20 10:01:04 -06:00
Andrew Johnson
c32997ffa1
tools: Fix dependency file problem.
...
Reported by Eric.
2011-12-20 16:30:41 -06:00
Andrew Johnson
f207b00b05
tools: Use Carp
...
Use carp and croak instead of warn and die in library routines.
2011-12-05 14:56:50 -06:00
Andrew Johnson
d72b4a3c1e
Fix install problems when using parallel builds.
...
If two targets using the same OS are built in parallel,
they can both try to install the same include/os/* file
at the same time, causing the installEpics.pl script to
die. We fix this by making all installations atomic:
First copy the file to the installation directory using
a unique name, then rename it to the target name. The
target name is in the same directory and filesystem as
the temporary name, so the rename should be atomic.
2011-10-28 13:19:08 -05:00
Andrew Johnson
a367e4be95
tools: use AbsPath() instead of abs_path() in checkRelease
...
abs_path() dies for dirs that don't exist.
2011-07-13 10:38:13 -05:00
Andrew Johnson
3bf5b21f57
tools: Improve makeDbDepends
...
Rewrite, add support for quotes around filenames in "file" statements.
2011-06-08 12:26:01 -05:00
Andrew Johnson
8d15407e2f
tools: Remove warning from newer versions of Perl.
...
Replace \1 with $1 in substitution strings.
2011-06-08 12:15:18 -05:00
Andrew Johnson
ce0114418f
tools: Fix LocalPath on Cygwin
...
The LocalPath() function must not replace /cygdrive/x with x:
This used to be necessary when mixing win32 and cygwin tools,
but we tell users not to do that any more. This problem only
appears if the path to base starts with /cygdrive/x.
2011-05-23 16:34:58 -05:00
Andrew Johnson
23daca46a1
tools: More back-slash escape fixes
...
Thanks to Stephen Norum for pointing most of these out and
testing the patch.
2010-12-16 17:02:15 -06:00
Andrew Johnson
af48ed31c3
tools: Need search path for uninstalled modules too.
...
This fixes the perl compilation failures of fullPathName.pl
that occur before the src/tools directory has been built, and
ensures that the other tools that use EPICS modules also work.
2010-10-26 09:27:47 -05:00
Andrew Johnson
62f603d820
tools: Drop EPICS_HOST_ARCH variable in checkRelease.
...
On Win32 abs_path() fails if the path given doesn't exist.
2010-10-18 11:35:28 -05:00
Andrew Johnson
0bacce77df
Merged the keywords branch.
...
* Updated the ReleaseChecklist document for Bazaar
* Replaced all RCS $Id$ and $header$ keywords with $Revision-Id$
as supported by the Bazaar Keywords plug-in
* Changed a few names in CONFIG_BASE_VERSION and epicsVersion.h
* Removed various extraneous keywords and non-ASCII characters
2010-10-07 11:51:22 -05:00
Andrew Johnson
d4bf5ec2d7
RTEMS: Added parentheses around command arguments for CEXP.
...
In particular the generated cdCommands file, and the lines in
the st.cmd@RTEMS file template.
2010-10-05 16:02:09 -05:00
Andrew Johnson
fbda9f3280
RCS keyword updates for Bazaar
...
Replaced $Id$ and $Header$ keywords with $Revision-Id$
Deleted $Log$ keywords and any log messages
2010-10-05 14:27:37 -05:00
Andrew Johnson
2bb4e63d1e
Clean up munch.pl, add -o option
...
chmod -x src/tools/*.pl
2010-07-29 14:58:14 -05:00
Andrew Johnson
f29bdb9d6e
Solve C++ exception problems in vxWorks 6.x:
...
* Use a linker script when generating .munch files
* Output exception handler frame registration code in _ctdt.c files
2010-07-29 12:35:53 -05:00
Janet Anderson
61733489e8
Don't use manifest tool for MS Visual C++ 2010 (and later) builds.
2010-07-12 14:54:51 -05:00
Andrew Johnson
618e189898
'make cvsclean' should delete old editor backup files too.
...
Not that we're using CVS for Base any more...
2010-04-28 17:19:36 -05:00
Andrew Johnson
ce43b9faf8
Reorganized files, configure to use new versions.
...
* Moved Readfile and macLib into tools/EPICS
* dbHost/Getopts was a duplicate
* Added (c) headers
* Build in the dbHost dir
* Switch build system to use Perl versions.
2010-04-13 17:05:59 -05:00
Andrew Johnson
f8e95a001b
Ensure EPICS_HOST_ARCH is defined.
...
Added support for := and ?= assignments.
Warn when include files not found.
2009-12-22 23:55:02 +00:00
Andrew Johnson
e83182e812
Don't use -r for testing the existance of optional files; it doesn't
...
always work on Cygwin, and causes much head-scratching. Better to let
the open die with an error if the file exists but is unreadable.
2009-11-12 17:28:23 +00:00
Andrew Johnson
efdee3c31a
Escaping doesn't work on all Win32 platform combinations.
...
Removed -e option again.
2009-08-03 22:03:33 +00:00
Andrew Johnson
3d86367330
Added -e option to escape back-slashes in output.
2009-07-22 16:40:30 +00:00
Andrew Johnson
1590358de4
Ignore any RULES value in the RELEASE files.
2009-06-24 19:27:33 +00:00
Ralph Lange
3c92824bfd
Make scanFile() recognize includes in .substitution files correctly.
2009-04-14 12:42:06 +00:00
Andrew Johnson
bf3c47c3d3
Warn about undefined macros in RELEASE file.
2009-01-06 16:41:56 +00:00
Andrew Johnson
cdd2748c98
Allow multiple slashes as path seperators, since we used to.
...
Also fixed perldoc comment formatting.
2008-10-20 18:32:47 +00:00
Andrew Johnson
516a2cbf41
Use $FindBin::Bin so we don't need to expand @TOP@.
...
Needed for package management systems such as in Debian.
2008-09-23 22:13:52 +00:00
Andrew Johnson
b2ce57294f
Use explicit path to executable, PATH may not include '.'
2008-09-11 22:42:17 +00:00
Andrew Johnson
79df764184
Added creation of ioc/dllPath.bat for Win32 IOCs.
2008-08-29 22:15:02 +00:00
Andrew Johnson
f30b6ac32e
Load RELEASE.hostarch.Common as well.
2008-08-29 21:06:56 +00:00
Andrew Johnson
1b41f513fa
Fix generation of .t files on Windows.
2008-08-27 15:56:37 +00:00
Janet B. Anderson
f7fde77d44
Work done in makeMakefileInclude.pl now done in RULES_TARGET.
2008-07-10 18:31:01 +00:00
Andrew Johnson
85b20ffaea
Fix envPaths output for cexp users.
2008-04-08 17:49:33 +00:00
Andrew Johnson
fb930b6b0e
Renamed convertRelease target 'STDOUT' to 'releaseTops' and fixed build files.
...
Removed the -h option to convertRelease, use $ENV{EPICS_HOST_ARCH} instead.
Reworked variables associated with expandVars to make it simpler to use.
Split EPICS::Utils module into three parts.
Moved code from fullPathName.pl into the new EPICS::Path module.
Changed convertRelease.pl to use new modules.
Added some documentation to RELEASE_NOTES.html
2008-04-03 21:57:16 +00:00
Andrew Johnson
bc3584c834
Moved Perl modules from Ctlsys to EPICS.
...
Cleanup and corrections in expandVars@.
2008-04-01 19:25:47 +00:00
Janet B. Anderson
1d1454ba98
Removed perl scripts cp.pl mkdir.pl mv.pl rm.pl.
2008-03-26 21:10:05 +00:00
Janet B. Anderson
7a6528cf1c
Removed references to EPICS_BASE, EPICS_EXTENSIONS, and CTLSYS.
2008-03-25 22:04:52 +00:00
Janet B. Anderson
c1512557d5
Removed EXPANDFLAGS definition. It is defined in configure/RULES_EXPAND.
2008-03-25 22:03:41 +00:00
Janet B. Anderson
2929063e3c
Removed debugging lines.
2008-03-24 22:27:42 +00:00
Janet B. Anderson
09639d6183
Initial version.
2008-03-24 22:24:22 +00:00
Janet B. Anderson
1ff1ba637e
Moved configure/tools files to src/tools directory.
2008-03-24 22:17:06 +00:00
Marty Kraimer
8659af3ee4
moved to top/configure/tools
1999-09-14 13:30:24 +00:00