aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* config/unconfig.h: generate by Makefile, not autogen.shH. Peter Anvin (Intel)2020-07-061-0/+35
| | | | | | | | config/unconfig.h really is no different than the other perlreq files, so move it into the Makefile. This has the extra advantage that config/unconfig.h no longer needs to be kept in the source repository. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* Makefile: add warnings.src to perlreq; longer list of binary filesH. Peter Anvin (Intel)2020-06-271-1/+1
| | | | | | | | | | | | | | | | Add warnings.src to PERLREQ. If this isn't done, warnings.src ends up in the xdoc tarball rather than the release tarball, which means that unless the user can "make warnings" manually (which requires Perl) then they can't build the documentation. As this only affects the documentation build, it probably does not warrant a point release. Add a few more extensions to the list of recognized binary extensions for the purpose of generating a .zip file with DOS line ending conventions. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* mkdep.pl: remove debugging print statementH. Peter Anvin (Intel)2020-06-041-2/+0
| | | | | | Remove debugging print statement. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* mkdep.pl: fix internalization/externalizationH. Peter Anvin (Intel)2020-06-041-8/+15
| | | | | | | At some point internalization/externalization of dependencies apparently broke. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* release: don't include nasmdoc.pdf.xz in the -xdoc fileH. Peter Anvin (Intel)2020-06-041-1/+2
| | | | | | | There is no reason to include both nasmdoc.pdf.xz and nasmdoc.pdf. For the -xdoc file, the one with minimal dependencies is the proper one. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* perl files: clean up warningsH. Peter Anvin (Intel)2019-08-091-2/+2
| | | | | | | | | | | | Clean up some perl warnings, some of which were legitimate (apparently undef doesn't actually take a list of arguments, a common enough mistake that it is mentioned in the man page!, and a list of variables after "my" can be cantankerous), and some of which were nuisance but were easy enough to clean up. Maybe this can resolve the problems with very old version of Perl? Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* tools/release: handle new binary filesH. Peter Anvin2018-12-261-4/+9
| | | | | | With the travis tests, we have a lot more binary files to worry about. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* MSVC: fix dependency generation and building RDOFF under MSVCH. Peter Anvin2018-06-181-8/+8
| | | | | | | | | | | | 1. The mkdep.pl program didn't handle excluded dependencies correctly, causing it to error out due to config/config.h not existing. 2. NMAKE is sensitive to the order suffixes appear in .SUFFIXES, causing it to try to use the builtin rule .c.exe instead of .c.obj -> .obj.exe. 3. NMAKE doesn't handle the && operator between commands. 4. The !ifdef jungle around dependency generation was wrong. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* msvc.mak: (hopefully) make external dependencies work with NMAKEH. Peter Anvin2017-11-081-2/+2
| | | | | | Hopefully this will make external dependencies work with NMAKE. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Make dependency generation a bit more robustH. Peter Anvin2017-11-061-31/+40
| | | | | | | Improve the corner cases where we might end up with bogus dependencies. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Makefile: don't store dependency information in gitH. Peter Anvin2017-11-011-24/+74
| | | | | | | Make it possible to keep dependency information separate from the Makefiles, so we don't have to deal with it noisifying the git logs. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* tools/release: make doesn't like MAKE in the environment, so call it makejH. Peter Anvin2017-04-181-7/+7
| | | | | | | make really doesn't like something called MAKE in the environment, so call it makej like buildall.sh on the server. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* tools/release: don't double-quote $MAKEH. Peter Anvin2017-04-181-5/+5
| | | | | | We actually want it broken down into words... (e.g. make -jX). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* tools/release: allow invoking make as a parallel buildH. Peter Anvin2017-04-181-5/+8
| | | | | | If the variable MAKE is set in the environment, use it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* tools/release: update the list of binary filesH. Peter Anvin2017-04-131-4/+6
| | | | | | Update the patterns for binary files. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* doc: add indented paragraphs, valid XHTML, CSS style sheetH. Peter Anvin2017-04-131-3/+2
| | | | | | | | | | | | | Add indented paragraphs, which can be used to continue an item in a bulleted list. Produce valid strict XHTML, and include a style sheet with a navbar and other fancy things. Remove archaic output formats. Now only text, XHTML, and PDF are supported. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* syncfiles.pl: allow for multiple synced sectionsH. Peter Anvin2017-04-031-10/+21
| | | | | | | Allow for multiple sections of Makefiles to be synchronized; the intent is to use this to synchronize the Perl file generation rules. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* perl: change to the new, safer 3-operand form of open()H. Peter Anvin2017-04-021-2/+2
| | | | | | | | | | | The 2-operand form was inherently unsafe. Use the 3-operand form instead, which guarantees that arbitrary filenames are supported. This also means we can remove a few instances of sysopen() which was used for exactly this reason, however, at least in theory sysopen() isn't portable. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* alldeps: handle uses of full pathnames, e.g. "config/config.h"H. Peter Anvin2016-10-061-1/+2
| | | | | | | | | | | | | | Sometimes we really want to use an extended pathname for an include file, for documentation purposes; e.g. "config/config.h". This makes alldeps handle that case correctly (and also adds the config/ directory to directories scanned by alldeps). It is unclear if this will work correctly if there are include files with the same name in different directories, but we currently do not have any case like that. Reported-by: anonymous coward <nasm64developer@users.sf.net> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* mkdep.pl: don't scan files until we know all the pathsH. Peter Anvin2016-08-161-26/+27
| | | | | | | | | Consistently identify dependencies by their path, not by their basename. This avoids missing indirect dependencies. Furthermore, we cannot start scanning files until we know the paths of all potential targets. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Reorganize the source code into subdirectoriesH. Peter Anvin2016-05-256-0/+978
Make the source code easier to understand and keep track of by organizing it into subdirectories depending on the function. Signed-off-by: H. Peter Anvin <hpa@zytor.com>