eolian-cxx: Fix distributing eo files in examples

This commit is contained in:
Felipe Magno de Almeida 2017-12-14 18:19:54 -02:00
parent 091f8e0f40
commit 4652fc4cb7
1 changed files with 4 additions and 2 deletions

View File

@ -79,7 +79,7 @@ SRCS = \
eolian_cxx_simple_01.cc \
eolian_cxx_callbacks_01.cc \
ns_colourable.eo \
ns_colourablesquare.eo
ns_colourablesquare.eo \
$(IMPL)
if HAVE_CXX
@ -121,7 +121,9 @@ eolian_cxx_callbacks_01_SOURCES = eolian_cxx_callbacks_01.cc
endif
DATA_FILES = Makefile.examples $(ECXX_EXAMPLE_EOS)
EXTRA_DIST = $(DATA_FILES)
EXTRA_DIST = $(DATA_FILES) \
ns_colourable.eo \
ns_colourablesquare.eo
%.eo.hh: %.eo
$(AM_V_EOLCXX)$(EOLIAN_CXX) $(EOLIAN_FLAGS) -I${abs_srcdir} -o $@ $<