From 48b7346494545743409abee6d3ff3b53beace528 Mon Sep 17 00:00:00 2001 From: Filippo Argiolas Date: Tue, 28 Feb 2023 11:14:59 +0100 Subject: [PATCH] Fix build to pass distcheck --- Makefile.am | 5 ++--- src/Makefile.am | 2 +- ui/Makefile.am | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9fbea68..a2d4dc9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,9 +19,8 @@ EXTRA_DIST = \ DISTCLEANFILES = \ intltool-extract \ intltool-merge \ - intltool-update - -DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper + intltool-update \ + po/.intltool-merge-cache.lock doc_DATA = TODO diff --git a/src/Makefile.am b/src/Makefile.am index a261859..01ea687 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -13,6 +13,6 @@ gnome_mastermind_CFLAGS = \ gnome_mastermind_SOURCES = \ gnome-mastermind.h \ - gnome-mastermind.c + gnome-mastermind.c nodist_gnome_mastermind_SOURCES = $(top_srcdir)/ui/resources.c diff --git a/ui/Makefile.am b/ui/Makefile.am index a6f2ba2..3162c1e 100644 --- a/ui/Makefile.am +++ b/ui/Makefile.am @@ -3,9 +3,9 @@ RESOURCES = \ menus.ui \ ui.ui -all: resources.c +all-local: resources.c resources.c: $(RESOURCES) - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --generate $< + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --target=$@ --generate $< CLEANFILES = resources.c