summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-06-18 20:03:33 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-06-18 20:03:33 -0400
commit1229be61dabfcbba555ec34fd43da21e94ed7f06 (patch)
treeabb9cd2619ff8656dd511409b0dee4295df6d670
parent0a19e0fcfa99cd293815d3fbe427c1e916c4f06d (diff)
parent93ffd50ccf04d02fc94565d8ee831c7b63d6d71a (diff)
Merge remote-tracking branch 'upstream/master'
-rw-r--r--src/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7f8ba6d..a26e10d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -96,10 +96,13 @@ all-local: $(BUILT_FILES)
$(BUILT_HEADER): $(BUILT_SOURCE)
-$(BUILT_SOURCE):
+$(BUILT_SOURCE): $(top_builddir)/util/makestrs$(EXEEXT)
$(AM_V_GEN)$(top_builddir)/util/makestrs -i $(top_srcdir) $(STRINGSABIOPTIONS) < $(STRING_LIST) > StringDefs.c
$(AM_V_at)$(MKDIR_P) $(top_builddir)/src
$(AM_V_at)$(MKDIR_P) $(top_builddir)/include/X11
$(AM_V_at)cp StringDefs.h $(top_builddir)/include/X11
$(AM_V_at)cp Shell.h $(top_builddir)/include/X11
$(AM_V_at)rm StringDefs.h Shell.h
+
+$(top_builddir)/util/makestrs$(EXEEXT) :
+ $(am__cd) $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F)