[gtk-doc] gtkdocize: Fix flavour matching order



commit 391b9f1642a86a47a84f866c769beb9fc3946ece
Author: Quentin Glidic <sardemff7+git sardemff7 net>
Date:   Fri Aug 7 10:38:46 2015 +0200

    gtkdocize: Fix flavour matching order
    
    *-flat versions were ignored because the generic flavour was picked first in the switch
    
    Fixes #753348
    
    Signed-off-by: Quentin Glidic <sardemff7+git sardemff7 net>

 gtkdocize.in |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtkdocize.in b/gtkdocize.in
index 718c642..73e9be9 100644
--- a/gtkdocize.in
+++ b/gtkdocize.in
@@ -115,17 +115,17 @@ while test $# -gt 0; do
 done
 
 case "$flavour" in
-  legacy*)
-    ;;
   legacy-flat*)
     makefile=gtk-doc.flat.make
     ;;
-  no-tmpl*)
-    makefile=gtk-doc.notmpl.make
+  legacy*)
     ;;
   no-tmpl-flat*)
     makefile=gtk-doc.notmpl-flat.make
     ;;
+  no-tmpl*)
+    makefile=gtk-doc.notmpl.make
+    ;;
   *)
     echo "$progname: invalid value for --flavour" 1>&2
     echo "$usage" 1>&2


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