[yelp-tools] Fixing make install issue



commit 772643215db9c841ae31016b5e0fa12fca8ede61
Author: Sebastian Geiger <sbastig gmx net>
Date:   Thu Oct 9 13:43:05 2014 +0200

    Fixing make install issue
    
         * This patch fixes bug #701959  which describes
           and issue that prevents make install from being
           successfully run if make has not been run first.
         * The problem is that make install 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 install-help so that these
           files are always generated when make install is run.

 tools/yelp.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/yelp.m4 b/tools/yelp.m4
index 20cab3a..5db847f 100644
--- a/tools/yelp.m4
+++ b/tools/yelp.m4
@@ -148,7 +148,7 @@ check-help:
 
 .PHONY: install-help
 install-data-am: $(if $(HELP_ID),install-help)
-install-help:
+install-help: $(_HELP_LC_FILES)
        @for lc in C $(_HELP_LINGUAS); do \
          $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
        done


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