mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-13 17:57:12 +08:00
* CPPFLAGS is a user variable and should be respected when compiling .c files. Think of -D_FORTIFY_SOURCE=2. * Pass ALL_CFLAGS when linking too. This is recommended for certain edge cases (-flto) * Use DESTDIR instead of INSTALLROOT for staging dir Every other build system (Automake, CMake, Meson) uses DESTDIR. This integrates better into distro and other build systems that have standard hooks for DESTDIR. * $(MAKE) -C <dir> is better than cd'ing into a <dir> * Use Autoconf's ${docdir} and ${htmldir} for installing the documentation. This makes handling documentation easier and respects user choice. Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
To build the entire documentation, the following tools are needed: 1. A Perl interpreter for your platform 2. The following Perl modules available from CPAN: Font::TTF Sort::Versions 3. asciidoc http://asciidoc.org/ 4. xmlto https://fedorahosted.org/xmlto 5. One of: Adobe Acrobat (acrodist) Ghostscript (ps2pdf) http://download.ghostscript.com/ pstopdf (available on some BSD-derived Unix systems) Of these, Ghostscript is the most tested, although Acrobat has been claimed to generate smaller files. 6. For best results, the Adobe fonts Source Sans Pro and Source Code Pro, available for free at: https://github.com/adobe-fonts