From 5cd8256a3ef2336040db172f83453e3fdc2df3c9 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 15 Jul 2023 17:43:15 +0200 Subject: [PATCH] Update make dist for the bundled shaders. --- Makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index e5b463c..8cb80f0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -111,8 +111,8 @@ gtest_sdl_main.o: gtest_sdl_main.cpp $(TESTS): %: %.o $(TEST_OBJS) libmovit.la $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -o $@ $^ $(TEST_LDLIBS) -OWN_OBJS=$(DEMO_OBJS) $(LIB_OBJS) $(OWN_TEST_OBJS) $(TESTS:=.o) -OBJS=$(DEMO_OBJS) $(LIB_OBJS) $(TEST_OBJS) $(TESTS:=.o) +OWN_OBJS=$(DEMO_OBJS) $(LIB_OBJS) $(OWN_TEST_OBJS) $(TESTS:=.o) make_bundled_shaders.o +OBJS=$(DEMO_OBJS) $(LIB_OBJS) $(TEST_OBJS) $(TESTS:=.o) make_bundled_shaders.o # A small demo program. demo: libmovit.la $(DEMO_OBJS) @@ -196,12 +196,13 @@ install: libmovit.la $(INSTALL) -m 644 movit.pc $(DESTDIR)$(libdir)/pkgconfig/ DISTDIR=movit-$(movit_version) -OTHER_DIST_FILES=add.frag autogen.sh blue.frag configure.ac d65.h identity.frag invert_effect.frag Makefile.in mipmap_needing_effect.frag downscale2x.frag downscale2x.comp mirror.comp identity.comp movit.pc.in README NEWS test_util.h widgets.h +OTHER_DIST_FILES=add.frag autogen.sh blue.frag configure.ac d65.h identity.frag invert_effect.frag Makefile.in mipmap_needing_effect.frag downscale2x.frag downscale2x.comp mirror.comp identity.comp movit.pc.in README NEWS test_util.h widgets.h bundled_shaders.h dist: $(MKDIR) $(DISTDIR) cp $(OWN_OBJS:.o=.cpp) $(DISTDIR)/ cp $(HDRS) $(DISTDIR)/ + cp $(SHADERS) $(DISTDIR)/ cp $(OTHER_DIST_FILES) $(DISTDIR)/ ( cd $(DISTDIR) && aclocal && libtoolize --install --copy && autoconf && $(RM) -r autom4te.cache/ ) tar zcvvf ../$(DISTDIR).tar.gz $(DISTDIR) -- 2.39.2