From 722de7684fc57b97a3b9f2204d172be0051d3525 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 27 Mar 2019 17:23:19 -0400 Subject: [PATCH] build: add autotools for elm config embedding Summary: Depends on D8481 Reviewers: bu5hm4n, devilhorns Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl_build Differential Revision: https://phab.enlightenment.org/D8489 --- src/Makefile.am | 3 ++- src/Makefile_Elementary.am | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 621636c..1ce77ae1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,6 +2,7 @@ AUTOMAKE_OPTIONS= -Wno-portability MAINTAINERCLEANFILES = Makefile.in CLEANFILES = BUILT_SOURCES = +PHONIES = EOLIAN_FLAGS = -I$(srcdir) EOLIAN_GEN_FLAGS = -S @@ -121,7 +122,7 @@ endif #include Makefile_Efl_Js.am ## -.PHONY: benchmark examples +.PHONY: benchmark examples $(PHONIES) BENCHMARK_SUBDIRS = \ benchmarks/eina \ diff --git a/src/Makefile_Elementary.am b/src/Makefile_Elementary.am index 0b9ab1f..a905925 100644 --- a/src/Makefile_Elementary.am +++ b/src/Makefile_Elementary.am @@ -225,7 +225,8 @@ BUILT_SOURCES += \ $(elm_private_eolian_h) \ $(elm_legacy_eolian_c) \ $(elm_legacy_eolian_eo_h) \ - $(elm_legacy_eolian_legacy_h) + $(elm_legacy_eolian_legacy_h) \ + lib/elementary/elm_default_config.x if INSTALL_EO_FILES elementaryeolianfilesdir = $(datadir)/eolian/include/elementary-@VMAJ@ @@ -2071,3 +2072,7 @@ lib/elementary/Elementary_Options.h.in \ lib/elementary/elm_code_widget_text.c \ lib/elementary/elm_code_widget_undo.c +PHONIES += lib/elementary/elm_default_config.x + +lib/elementary/elm_default_config.x: $(abs_top_srcdir)/data/elementary/config/standard/base.src.in $(abs_top_srcdir)/src/lib/elementary/config_embed + lib/elementary/config_embed $< $@ -- 2.7.4