[gtk-doc] distcheck: don't copy same file twice



commit 50309cfbbb15a5dc1ae56577a5f71aa5fc0b5f6e
Author: Stefan Kost <ensonic users sf net>
Date:   Fri May 21 11:47:10 2010 +0300

    distcheck: don't copy same file twice
    
    We wanted to use an exiting image as an example. But make distcheck creates
    files readonly and make distcehck failes when trying to overwrite the file.
    Instead only use the image we use to the image-tag test.

 tests/empty/docs/Makefile.am              |    2 +-
 tests/gobject/docs-tmpl/Makefile.am       |    3 ++-
 tests/gobject/docs-tmpl/images/object.png |  Bin 0 -> 4101 bytes
 tests/gobject/docs/Makefile.am            |    1 -
 4 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/empty/docs/Makefile.am b/tests/empty/docs/Makefile.am
index 8119252..339f112 100644
--- a/tests/empty/docs/Makefile.am
+++ b/tests/empty/docs/Makefile.am
@@ -44,7 +44,7 @@ CFILE_GLOB=$(top_srcdir)/tests/empty/src/*.c
 IGNORE_HFILES=config.h
 
 # Images to copy into HTML directory.
-HTML_IMAGES = $(top_srcdir)/home.png
+HTML_IMAGES = 
 
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
diff --git a/tests/gobject/docs-tmpl/Makefile.am b/tests/gobject/docs-tmpl/Makefile.am
index 8de3334..5e8d974 100644
--- a/tests/gobject/docs-tmpl/Makefile.am
+++ b/tests/gobject/docs-tmpl/Makefile.am
@@ -42,7 +42,8 @@ CFILE_GLOB=$(top_srcdir)/tests/gobject/src/*.c
 IGNORE_HFILES=config.h
 
 # Images to copy into HTML directory.
-HTML_IMAGES = $(top_srcdir)/home.png
+HTML_IMAGES =  \
+	$(srcdir)/images/object.png
 
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
diff --git a/tests/gobject/docs-tmpl/images/object.png b/tests/gobject/docs-tmpl/images/object.png
new file mode 100644
index 0000000..b7f4535
Binary files /dev/null and b/tests/gobject/docs-tmpl/images/object.png differ
diff --git a/tests/gobject/docs/Makefile.am b/tests/gobject/docs/Makefile.am
index 1f4267b..41e095e 100644
--- a/tests/gobject/docs/Makefile.am
+++ b/tests/gobject/docs/Makefile.am
@@ -45,7 +45,6 @@ IGNORE_HFILES=config.h
 
 # Images to copy into HTML directory.
 HTML_IMAGES = \
-	$(top_srcdir)/home.png			\
 	$(srcdir)/images/object.png
 
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).



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