don't call the result files .out but .res as the Makefiles tend to try

* doc/examples/*: don't call the result files .out but .res as
  the Makefiles tend to try generating binaries for .out targets...
Daniel
diff --git a/doc/examples/index.py b/doc/examples/index.py
index 8c64757..2569ac3 100755
--- a/doc/examples/index.py
+++ b/doc/examples/index.py
@@ -216,7 +216,7 @@
 def dump_Makefile():
     for file in glob.glob('*.xml'):
         extras.append(file)
-    for file in glob.glob('*.out'):
+    for file in glob.glob('*.res'):
         extras.append(file)
     Makefile="""# Beware this is autogenerated by index.py
 HTML_DIR=$(datadir)/doc
@@ -237,7 +237,7 @@
 
 install-data-local: 
 	$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)
-	-@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.out $(DESTDIR)$(TARGET_DIR)
+	-@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(TARGET_DIR)
 
 """
     EXTRA_DIST=""