[cantarell-fonts/greek] build: Add --disable-source-rebuild configure option
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cantarell-fonts/greek] build: Add --disable-source-rebuild configure option
- Date: Mon, 29 Apr 2013 07:00:49 +0000 (UTC)
commit 8df3020248172314a6104c446caa6bf3d8520804
Author: Colin Walters <walters verbum org>
Date: Fri Sep 14 11:09:22 2012 -0400
build: Add --disable-source-rebuild configure option
For GNOME-OSTree, this lets us avoid pulling in fontforge for now.
configure.ac | 5 +++++
otf/Makefile.am | 2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index eb1b017..09ac79e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,6 +6,11 @@ AC_INIT([cantarell-fonts], [0.0.10],
AM_INIT_AUTOMAKE([1.9 tar-ustar foreign dist-bzip2 no-dist-gzip])
+AC_ARG_ENABLE(source-rebuild,
+ AS_HELP_STRING([--disable-source-rebuild], [Do not rebuild from source using fontforge]),,
+ enable_source_rebuild=yes)
+AM_CONDITIONAL(SOURCE_REBUILD, test x$enable_source_rebuild != xno)
+
PKG_PROG_PKG_CONFIG([0.19])
AC_PROG_SED
diff --git a/otf/Makefile.am b/otf/Makefile.am
index 6cfb8b9..b9ea8e9 100644
--- a/otf/Makefile.am
+++ b/otf/Makefile.am
@@ -4,8 +4,10 @@ font_DATA = \
Cantarell-Regular.otf \
Cantarell-Bold.otf
+if SOURCE_REBUILD
%.otf: $(top_srcdir)/src/%.sfd
/usr/bin/env fontforge -script $(top_srcdir)/scripts/generate.sh "$^"
+endif
EXTRA_DIST = $(font_DATA)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]