Skip to content

glfs-book/glfs

Repository files navigation

GLFS

Gaming Linux From Scratch

This book covers the installation of graphics drivers, Steam, Wine, and more following a Linux From Scratch install.

Where to Read

Go to https://linuxfromscratch.org/glfs/view/dev/ or https://glfs-book.github.io/glfs/ and start going through the book!

You can find more online copies at https://linuxfromscratch.org/glfs/view/.

There are also releases available for download.

Installation

How do I convert these XML files to HTML myself? You need to have some software installed that deal with these conversions. Please read INSTALL.md to determine which programs you need to install and where to get instructions to install that software.

You can then build the HTML with a simple make command.

You can switch the theme by passing THEME=<theme> to the make command. <theme> can equal:

  • dynamic (default)
  • dark
  • light
  • any theme in THEME_PATH

Example:

make THEME=dark

You can set the theme path by passing THEME_PATH=<path> to the make command. The default is stylesheets/lfs-xsl. More themes are available at https://github.com/glfs-book/lfs-themes.

Example:

make THEME_PATH=../lfs-themes/themes THEME=whitepink

By default, RENDERTMP, which defaults to a temporary directory created by mktemp -d, will be removed after every file has been converted to a new format (e.g., HTML, wget-list, dumped commands, etc.). If you need to keep that directory, pass AUTO_CLEAN=0 to the make command.

Example:

make RENDERTMP=~/tmp AUTO_CLEAN=0

Note

Other variables exist. For a more comprehensive list of them, run make help, and for a complete list, inspect the Makefile.

The default values for the variables in the Makefile may be changed by declaring them in local.mk. For instance, if local.mk contains REV=systemd and THEME=light, calling make with no arguments will build the systemd revision with the light theme. local.mk is not tracked and must be created manually.

The default target renders as chunked HTML in ~/public_html/glfs.

About

This book covers the installation of graphics drivers, Steam, Wine, and more following a Linux From Scratch install.

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors