Highlight is a utility that converts source code to formatted text with syntax highlighting.
![[Note]](../images/note.png) 
          Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): http://www.andre-simon.de/zip/highlight-4.17.tar.bz2
Download MD5 sum: aeb15f1f580d6f3263483a577915eb89
Download size: 1.5 MB
Estimated disk space required: 24 MB (with gui)
Estimated build time: 0.2 SBU (Using parallelism=4; with gui)
Qt-6.10.0 (to build the GUI front-end)
For consistency, do not compress man pages.
sed -i '/GZIP/s/^/#/' makefile
To build Highlight run the following command:
make
To build the qt6 GUI front-end, run the following command:
make doc_dir=/usr/share/doc/highlight-4.17/ gui
This package does not come with a test suite.
          To install Highlight, run the
          following command as the root user:
        
make doc_dir=/usr/share/doc/highlight-4.17/ install
          To install the GUI program, run the following command as the
          root user:
        
make install-gui
          doc_dir=/usr/share/doc/highlight-4.17/:
          installs the highlight documentation into a versioned directory.
          This parameter is also needed for make gui, because its value would
          be hardcoded into the gui executable. Note that the trailing
          “/” is
          necessary.