aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Jean Texier <pjtexier@koncepto.io>2020-01-21 22:05:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-21 23:23:44 +0000
commitfd33a9b3d68c89fa22ff6873f4f9fd28bd85830c (patch)
tree5685e4865f01f2e35519062315e9007de5d526d9
parentf7a354dd7991bda57ab8b26d6491687d777f88da (diff)
downloadpsplash-fd33a9b3d68c89fa22ff6873f4f9fd28bd85830c.tar.gz
psplash-fd33a9b3d68c89fa22ff6873f4f9fd28bd85830c.tar.bz2
psplash-fd33a9b3d68c89fa22ff6873f4f9fd28bd85830c.zip
Makefile.am: use BUILT_SOURCES instead of BUILD_SOURCES
Since commit f7a354dd7991bda57ab8b26d6491687d777f88da ("Generate image headers from their PNG source, while still including them in dist tarball") headers files are generated from autotools by using BUILD_SOURCES variable. But when generating header files, it is important to generate the files before the rest of the sources are compiled. So, the BUILT_SOURCES variable must be used in this case. Fixes: psplash.c:17:10: fatal error: psplash-bar-img.h: No such file or directory #include "psplash-bar-img.h" Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index e756ed1..fb43847 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,7 @@ psplash_SOURCES = psplash.c psplash.h psplash-fb.c psplash-fb.h \
psplash-console.c psplash-console.h \
psplash-colors.h psplash-config.h \
psplash-poky-img.h psplash-bar-img.h $(FONT_NAME)-font.h
-BUILD_SOURCES = psplash-poky-img.h psplash-bar-img.h
+BUILT_SOURCES = psplash-poky-img.h psplash-bar-img.h
psplash_write_SOURCES = psplash-write.c psplash.h