diff options
author | Kevin E Martin <kem@kem.org> | 2005-11-15 08:29:17 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2005-11-15 08:29:17 +0000 |
commit | 646dc0710c0ce3ceb68d6b602da135464428f097 (patch) | |
tree | 2b2978266a96ce2d4c62b09fa65272ada49f19fb | |
parent | a99ef3d3211f0439b89bf2d19867f0319c0520d0 (diff) |
Add configure option to change the installed font dir.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 7 |
3 files changed, 13 insertions, 2 deletions
@@ -0,0 +1,5 @@ +2005-11-15 Kevin E. Martin <kem-at-freedesktop-dot-org> + + * Makefile.am: + * configure.ac: + Add configure option to change the installed font dir. diff --git a/Makefile.am b/Makefile.am index 8e9f5a1..ca8928e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,7 +19,6 @@ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -FONT_DIR = 75dpi FONT_FILES = \ charB08 \ charB10 \ @@ -59,7 +58,7 @@ SUFFIXES = .bdf .pcf.gz @rm -f $@ $(BDFTOPCF) -t $^ | gzip > $@ -fontdir = $(libdir)/X11/fonts/$(FONT_DIR) +fontdir = @FONTDIR@ font_DATA = $(PCF_FILES) CLEANFILES = $(font_DATA) diff --git a/configure.ac b/configure.ac index f7ec1fc..d611126 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,13 @@ AC_PATH_PROG(BDFTOPCF, bdftopcf) AC_PATH_PROG(MKFONTSCALE, mkfontscale) AC_PATH_PROG(MKFONTDIR, mkfontdir) +DEFAULT_FONTDIR=${libdir}/X11/fonts/75dpi +AC_ARG_WITH(fontdir, + AS_HELP_STRING([--with-fontdir=FONTDIR], [Path to install fonts]), + [FONTDIR="$withval"], + [FONTDIR="$DEFAULT_FONTDIR"]) +AC_SUBST(FONTDIR) + XORG_RELEASE_VERSION AC_OUTPUT([Makefile]) |