1 From 29cab25240cf30f546671f265167a2eeadfd4c75 Mon Sep 17 00:00:00 2001
2 From: Alan Coopersmith <alan.coopersmith@oracle.com>
3 Date: Thu, 7 Mar 2019 13:23:00 -0800
4 Subject: [PATCH app/mkfontscale] Revert "Use autoconf instead of sed to
5 substitute @bindir@ in mkfontdir.in"
7 This reverts commit 1f9d14bec07092d62da29a5a233cefbf84d47289.
8 It caused https://gitlab.freedesktop.org/xorg/app/mkfontscale/issues/5
10 Makefile.am | 9 ++++++++-
12 2 files changed, 8 insertions(+), 2 deletions(-)
14 diff --git a/Makefile.am b/Makefile.am
15 index 7bb11ea..c36d171 100644
18 @@ -23,6 +23,13 @@ SUBDIRS = man
19 bin_PROGRAMS = mkfontscale
20 bin_SCRIPTS = mkfontdir
22 +CLEANFILES = $(bin_SCRIPTS)
23 +EXTRA_DIST = $(bin_SCRIPTS:=.in)
24 +DIR_SUBSTS = -e 's|@bindir[@]|$(bindir)|g'
26 +mkfontdir: mkfontdir.in
27 + $(AM_V_GEN)$(SED) $(DIR_SUBSTS) < $(srcdir)/mkfontdir.in > $@
29 AM_CPPFLAGS = @MKFONTSCALE_CFLAGS@ @X11_CFLAGS@ -D_BSD_SOURCE
30 AM_CFLAGS = $(CWARNFLAGS)
31 mkfontscale_LDADD = @MKFONTSCALE_LIBS@
32 @@ -59,4 +66,4 @@ lint:
33 $(LINT) $(ALL_LINT_FLAGS) $(mkfontscale_SOURCES)
36 -EXTRA_DIST = README.md
37 +EXTRA_DIST += README.md
38 diff --git a/configure.ac b/configure.ac
39 index 5f5e463..7363bba 100644
42 @@ -63,6 +63,5 @@ XORG_WITH_LINT