From 3579ed2ff0152bfb176efa2023e40f61a5780799 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 18 Mar 2021 07:24:20 -0400 Subject: fonts: Add Ubuntu Titling font --- diff --git a/Makefile.am b/Makefile.am index 1fed884..ca58a81 100644 --- a/Makefile.am +++ b/Makefile.am @@ -53,7 +53,8 @@ dodge_balls_CPPFLAGS = \ $(ZLIB_CFLAGS) \ $(EXPAT_CFLAGS) \ -DABS_BUILDDIR=\"$(abs_builddir)\" \ - -DGAMESDIR=\"$(gamesdir)\" + -DGAMESDIR=\"$(gamesdir)\" \ + -DFONTSDIR=\"$(fontsdir)\" dodge_balls_LDADD = \ $(ASAN_CFLAGS) \ $(SDL_LIBS) \ @@ -125,5 +126,6 @@ release: include $(top_srcdir)/src/local.mk include $(top_srcdir)/games/local.mk +include $(top_srcdir)/fonts/local.mk uninstall_dirs += $(pkgdatadir) diff --git a/fonts/UbuntuTitling-Bold.ttf b/fonts/UbuntuTitling-Bold.ttf new file mode 100644 index 0000000..53585e5 --- /dev/null +++ b/fonts/UbuntuTitling-Bold.ttf Binary files differ diff --git a/fonts/local.mk b/fonts/local.mk new file mode 100644 index 0000000..8326296 --- /dev/null +++ b/fonts/local.mk @@ -0,0 +1,20 @@ +fontsdir = $(pkgdatadir)/fonts +uninstall_dirs += $(fontsdir) + +dist_fonts_DATA = \ + %reldir%/UbuntuTitling-Bold.ttf + +if OUT_OF_TREE +CLEANFILES += \ + $(dist_fonts_DATA) +endif + +# To run in place, the engine needs game data in the build directory, which may +# be different from the source directory. +$(dist_fonts_DATA): %reldir%/$(am__dirstamp) + $(AM_V_GEN)[ x"$(srcdir)" = x"$(builddir)" ] || \ + $(LN_S) "$(abs_srcdir)/$@" "$@" +CONFIG_CLEAN_FILES += %reldir%/$(am__dirstamp) +%reldir%/$(am__dirstamp): + @$(MKDIR_P) %reldir% + @: > %reldir%/$(am__dirstamp) -- cgit v0.9.1