[yelp-tools] Fixing make distcheck issue



commit d18d4ff5cb67a07977aa9957fe82322b22380ef3
Author: Sebastian Geiger <sbastig gmx net>
Date:   Wed Oct 8 15:31:23 2014 +0200

    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 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 \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]