Skip to content

Commit

Permalink
Fix build to pass distcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
fargiolas committed Feb 28, 2023
1 parent bc5091f commit 48b7346
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions ui/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 48b7346

Please sign in to comment.