[gimp-help-2/gimp-help-2-6-2] Don't mix implicit and normal rules



commit 9ce5a111227f728583de7d1d00a3f9e81e58f2a1
Author: Ulf-D. Ehlert <ulfehlert svn gnome org>
Date:   Mon Jan 10 18:09:25 2011 +0100

    Don't mix implicit and normal rules
    
    Mixed rules don't work with make-3.82 (bug #639057).

 Makefile.GNU |    4 ++--
 Makefile.am  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.GNU b/Makefile.GNU
index 80ceaec..5392e4d 100644
--- a/Makefile.GNU
+++ b/Makefile.GNU
@@ -755,7 +755,7 @@ pdf/%/gimp.pdf: xml/% stylesheets/plainprint.xsl xml/%/images
 
 else
 
-pdf pdf-%:
+pdf $(foreach lang,$(LANGUAGES),pdf-$(lang)):
        @echo "*** Cannot build PDFs because DBLATEX was not defined ***"
        @exit 69
 
@@ -792,7 +792,7 @@ xml/%/gimp-alldocs.xml: xml/%/gimp.xml
 
 else
 
-odf odf-%:
+odf $(foreach lang,$(LANGUAGES),odf-$(lang)):
        @echo "*** Cannot build ODFs because DOCBOOK2ODF was not defined ***"
        @exit 69
 
diff --git a/Makefile.am b/Makefile.am
index 24a472f..b1b269f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -823,7 +823,7 @@ pdf/%/gimp.pdf: xml/% stylesheets/plainprint.xsl xml/%/images
 
 else
 
-pdf-local pdf-%:
+pdf-local $(foreach lang,$(LANGUAGES),pdf-$(lang)):
        @echo "*** Cannot build PDFs because dblatex(1) was not found ***"
        @exit 69
 
@@ -863,7 +863,7 @@ endif
 
 else
 
-odf odf-%:
+odf $(foreach lang,$(LANGUAGES),odf-$(lang)):
        @echo "*** Cannot build ODFs because docbook2odf(1) was not found ***"
        @exit 69
 


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