Highlight-3.57

Introduction to Highlight

Highlight is an utility that converts source code to formatted text with syntax highlighting.

This package is known to build and work properly using an LFS-10.0 platform.

Package Information

Highlight Dependencies

Required

Boost-1.74.0 and Lua-5.4.0

Optional

Qt-5.15.0 (to build the GUI front-end)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/highlight

Installation of Highlight

For consistency, do not compress man pages.

sed -i '/GZIP/s/^/#/' makefile

To build Highlight run the following command:

make

To build the Qt5 GUI front-end, run the following command:

make gui doc_dir=/usr/share/doc/highlight-3.57/

This package does not come with a test suite.

To install Highlight, run the following command as the root user:

make install doc_dir=/usr/share/doc/highlight-3.57/

To install the GUI program, run the following command as the root user:

make install-gui

Command Explanations

doc_dir=/usr/share/doc/highlight-3.57: install highlight documentation into a versioned directory. This parameter is also needed for make gui, because its value would be hardcoded into the gui executable.

Contents

Installed Programs: highlight
Installed Libraries: None
Installed Directories: /etc/highlight, /usr/share/doc/highlight/3.57, and /usr/share/highlight

Short Descriptions

highlight

is a universal source code to formatted text converter.

Last updated on 2020-08-19 11:09:48 -0700