From d2d6ccfeb77711eed7e48bf958b76168bdfd0621 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 10 Feb 2014 21:02:49 -0500 Subject: Add build-time configuration module. * 2d/config.scm.in: New file. * Makefile.am (2d/config.scm): New rule. (SOURCES): Add 2d/config.scm. * .gitignore: Ignore 2d/config.scm. --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 80798e2..c13bf1c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,6 +8,7 @@ SOURCES = \ 2d/animation.scm \ 2d/audio.scm \ 2d/color.scm \ + 2d/config.scm \ 2d/coroutine.scm \ 2d/font.scm \ 2d/fps.scm \ @@ -39,6 +40,9 @@ WRAPPER_SOURCES = \ 2d/wrappers/gl.scm \ 2d/wrappers/util.scm +2d/config.scm: Makefile + sed -e "s|@pkgdatadir\@|$(pkgdatadir)|" $@.in > $@ + EXTRA_DIST += env.in SUBDIRS = \ -- cgit v1.2.3