build: ensure we remove the newly generated *eo.legacy.c files for distcheck
authorStefan Schmidt <s.schmidt@samsung.com>
Wed, 27 Feb 2019 10:26:26 +0000 (11:26 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 8 Mar 2019 11:49:36 +0000 (20:49 +0900)
Eolain now generates extra files for the C legacy implementations and
distcheck has trouble with them not being removed by the build system.

Going to handle lists of them in all the different makefiles (elm,
ecore, emotion, etc) would be a lot extra work. Thus I will just make
sure the get removed during our clean-local rule.

Given 1.22 is the last release we will use autotools for I think this is
a fair compromise to get this fixed.

Differential Revision: https://phab.enlightenment.org/D8052

Makefile.am

index 1661752ff05e82133882571c011a14eb33d56db9..65ca84acc1d83ddf260804645abd755acd76ddf2 100644 (file)
@@ -554,6 +554,7 @@ pkgbuild::
 
 clean-local:
        rm -rf benchmark coverage
+       @find . -name '*eo.legacy.c' -delete
 
 DISTCLEANFILES= \
 ./src/lib/emile/Makefile \