From d18d4ff5cb67a07977aa9957fe82322b22380ef3 Mon Sep 17 00:00:00 2001 From: Sebastian Geiger Date: Wed, 8 Oct 2014 15:31:23 +0200 Subject: Fixing make distcheck issue * This patch fixes bug #738142 which describes and issue that prevents make distcheck from being successfully run if make has not been run first. * The problem is that make distcheck requires some generated files to be present that are only generated by make. The solution was to add $(_HELP_LC_FILES) as a dependency to distdir-help-files so that these files are always generated when make distcheck is run. --- tools/yelp.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/yelp.m4 b/tools/yelp.m4 index 96acadb..20cab3a 100644 --- a/tools/yelp.m4 +++ b/tools/yelp.m4 @@ -119,7 +119,7 @@ EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po) EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f)))) distdir: distdir-help-files -distdir-help-files: +distdir-help-files: $(_HELP_LC_FILES) @for lc in C $(if $(YELP_LC_DIST),$(HELP_LINGUAS)) ; do \ $(MKDIR_P) "$(distdir)/$$lc"; \ for file in $(HELP_FILES); do \ -- cgit v1.2.1