summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch
blob: 67fd29a897226ee7e78df7b3dfdfb91cf7b35b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
This fixes the following build errors with the gtk+ faq and tutorial
documentation:

mv: cannot stat `gtk-faq': No such file or directory
mv: cannot stat `gtk-tut': No such file or directory

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
diff -urN gtk+-2.22.1.orig//docs/faq/Makefile.am gtk+-2.22.1/docs/faq/Makefile.am
--- gtk+-2.22.1.orig//docs/faq/Makefile.am	2010-11-15 04:13:09.000000000 -0800
+++ gtk+-2.22.1/docs/faq/Makefile.am	2011-02-17 13:16:30.603214103 -0800
@@ -9,7 +9,8 @@
 	  (cd $(srcdir); \
 	   db2html gtk-faq.sgml; \
 	   test -d html && rm -r html; \
-	   mv gtk-faq html); \
+	   mkdir html; \
+	   mv *.html html); \
 	fi
 
 pdf:
diff -urN gtk+-2.22.1.orig//docs/tutorial/Makefile.am gtk+-2.22.1/docs/tutorial/Makefile.am
--- gtk+-2.22.1.orig//docs/tutorial/Makefile.am	2010-11-15 04:13:09.000000000 -0800
+++ gtk+-2.22.1/docs/tutorial/Makefile.am	2011-02-17 13:15:40.110369180 -0800
@@ -42,7 +42,8 @@
 	  (cd $(srcdir); \
 	   db2html gtk-tut.sgml; \
 	   test -d html && rm -r html; \
-	   mv gtk-tut html; \
+	   mkdir html; \
+	   mv *.html html; \
 	   mkdir html/images; \
 	   cp images/*.png html/images); \
 	fi