summaryrefslogtreecommitdiff
path: root/mcon/pl
Commit message (Collapse)AuthorAge
* metalint: warn if defining a UU-file already claimed.Raphael Manfredi2020-03-16
|
* metalint: warn if several units claim to export the same file.Raphael Manfredi2020-03-16
|
* Allow exclusions file to be named in .packageAaron Crane2017-10-24
|
* Support "-X exclusions-file" option in metaxrefAaron Crane2017-10-24
| | | | | Otherwise, when mconfig is run with that option, the metaxref would confusingly refer to excluded symbols.
* Move read_exclusions() function to files.plAaron Crane2017-10-24
|
* Use a "%" sigil when calling Perl keys() / each()Aaron Crane2017-10-24
| | | | | This usage has produced a depreaction warning since Perl 5.000, and was finally removed in Perl 5.22.
* New "-X exclusions-file" option for mconfigAaron Crane2017-10-23
| | | | | | | | | | | Packages can use this option to list symbols that shouldn't bring in the corresponding units. For example, Perl need not provide support for BSD index(3) as an alternative to C89 strchr(3), but "index" is the name of a Perl builtin, so that string in the source files is misunderstood by metaconfig as an attempt to use the BSD function. With this change, Perl can deal with this situation by adding "index" (and "rindex") to an exclusion list.
* fix typo in variable name (#13)mauke2017-10-13
|
* fix @wiping initialization (#12)mauke2017-10-13
| | | qw(...) cannot contain comments. The previous "comment" was interpreted as part of the qw list.
* Further enhanced ?MAKE: checks for pick to watch for %<.Raphael Manfredi2017-05-14
| | | | | | | The last argument of the pick command is the target, usually the current unit name, or an explicit relative path. If it is the unit name, then it is better represented by using the %< macro in case the unit file is copied or renamed later.
* Enhanced metalint to better validate ?MAKE: lines.Raphael Manfredi2017-05-13
| | | | | In particular, validate the special "pick" command further to avoid nasty surprises when running metaconfig.
* process_command: be more explicit about errors when opening units.Raphael Manfredi2017-05-13
|
* Fix incorrect invocation of Perl system builtinAaron Crane2016-04-23
| | | | | | | | It doesn't default to $_, but this code apparently assumes it does. This doesn't seem to actually affect anything, because all the units I've encountered have only the "pick" pseudo-command in the actions of their "?MAKE:" sections. But I think it's worth fixing nonetheless.
* Don't rely on directory order when locating unitsAaron Crane2016-04-23
| | | | | | Without this change, it's more likely for different machines to produce a Configure script with spurious unit reorderings (especially if they're running different OSes).
* Make Assert.U explicitly claim it creates a local "static_assert.h" file.rmanfredi2012-02-09
| | | | | | | | | Taught metalint to look for #include files in here-documents to catch missing dependencies on Assert, or other special units that would create such locally-defined includes. git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@132 2592e710-e01b-42a5-8df0-11608a6cc53d
* Make sure $file starts with a letter to avoid regexp warning in /\b$file/.rmanfredi2012-01-28
| | | | git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@115 2592e710-e01b-42a5-8df0-11608a6cc53d
* Taught metalint about "${var:" type syntax.rmanfredi2010-11-22
| | | | git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@33 2592e710-e01b-42a5-8df0-11608a6cc53d
* SVN revision number is now automatically generated in "revision.h".rmanfredi2008-05-28
| | | | | | | | The old patchlevel information is no longer used, and <PATCHLEVEL> is deprecated in unit files, replaced by <REVISION>. git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@25 2592e710-e01b-42a5-8df0-11608a6cc53d
* Removed last instance of $*, no longer supported in Perl 5.10.rmanfredi2008-05-28
| | | | git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@23 2592e710-e01b-42a5-8df0-11608a6cc53d
* Applied diff from H.Merijn Brand to keep it working with perl 5.10, whichrmanfredi2008-01-04
| | | | | | | no longer supports the old $* perl4 variable to request multiline matching. git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@20 2592e710-e01b-42a5-8df0-11608a6cc53d
* Moving project to sourceforge.rmanfredi2006-08-24
git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@1 2592e710-e01b-42a5-8df0-11608a6cc53d