diff --git a/INSTALL b/INSTALL index eebf7d51..5ec43ccc 100644 --- a/INSTALL +++ b/INSTALL @@ -63,6 +63,12 @@ If you already have these fonts, you can configure Gource to use them with: ./configure --enable-ttf-font-dir=/path/to/freefont/ +You can also build Gource with a different font: + + ./configure --enable-font-file=/path/to/alternate/font.ttf + +The font file format must be supported by Free Type 2. + Gource includes a copy of TinyXML. To build against the system version of the library use: diff --git a/Makefile.am b/Makefile.am index 745a42aa..970c1e4f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -80,12 +80,11 @@ endif if FONTFILE AM_CPPFLAGS += -DGOURCE_FONT_FILE=\"$(gourcefontfile)\" -endif - +else if FONTDIR AM_CPPFLAGS += -DSDLAPP_FONT_DIR=\"$(gourcefontdir)\" else fontsdir = $(pkgdatadir)/fonts dist_fonts_DATA = data/fonts/README data/fonts/FreeSans.ttf endif - +endif