build: add autotools for elm config embedding
authorMike Blumenkrantz <zmike@samsung.com>
Wed, 27 Mar 2019 21:23:19 +0000 (17:23 -0400)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 2 Apr 2019 04:14:38 +0000 (13:14 +0900)
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
src/Makefile_Elementary.am

index 621636c..1ce77ae 100644 (file)
@@ -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 \
index 0b9ab1f..a905925 100644 (file)
@@ -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 $< $@