summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSebastian Geiger <sbastig@gmx.net>2014-10-08 15:31:23 +0200
committerSebastian Geiger <sbastig@gmx.net>2014-10-08 15:31:23 +0200
commitd18d4ff5cb67a07977aa9957fe82322b22380ef3 (patch)
treee117fa0f4b1869c060b73aca707e8f8b109344a3 /tools
parent9c5c8be6e99060ac0192001905dfd10d8a7332d8 (diff)
downloadyelp-tools-d18d4ff5cb67a07977aa9957fe82322b22380ef3.tar.gz
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.
Diffstat (limited to 'tools')
-rw-r--r--tools/yelp.m42
1 files changed, 1 insertions, 1 deletions
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 \