OSDN Git Service

inserted the relative path from configure.
authortsntsumi <tsntsumi@users.sourceforge.jp>
Fri, 27 Aug 2010 10:54:49 +0000 (10:54 +0000)
committertsntsumi <tsntsumi@users.sourceforge.jp>
Fri, 27 Aug 2010 10:54:49 +0000 (10:54 +0000)
doc/Makefile.am

index 803f16e..9f2a7c1 100644 (file)
@@ -1,5 +1,5 @@
 ## Process this file with automake to produce Makefile.in
-##    Copyright (C) 2003 TSUTSUMI Kikuo.
+##    Copyright (C) 2003, 2010 TSUTSUMI Kikuo.
 ##    This file is part of the CCUnit Library.
 
 ##    The CCUnit Library is free software; you can redistribute it and/or
 # $Id$
 
 EXTRA_DIST = $(doxygen_input) $(static_pages) $(DOXYSRCS)
-doxygen_input=header.html footer.html
-DOXYSRCS=mainpage.dox cookbook.dox \
-       dots/StructCollabo.dot
+doxygen_input=$(top_srcdir)/doc/header.html $(top_srcdir)/doc/footer.html \
+       $(top_srcdir)/doc/ccunit.css
+DOXYSRCS=$(top_srcdir)/doc/mainpage.dox $(top_srcdir)/doc/cookbook.dox
 
-html_DATA = html/index.html
+html_DATA = $(builddir)/html/index.html
 htmldir = $(pkgdatadir)/html
 
 if ENABLE_JADOC
-htmlja_DATA = ja/html/index.html
+htmlja_DATA = $(builddir)/ja/html/index.html
 htmljadir = $(htmldir)/ja
 endif
 
@@ -36,9 +36,9 @@ static_pages=FAQ
 
 install-data-hook:
        -test -d html && cp -p $(static_pages) $(DESTDIR)$(htmldir)
-       -test -d html && cp -dpR html/* $(DESTDIR)$(htmldir)
+       -test -d html && cp -dpR $(builddir)/html/* $(DESTDIR)$(htmldir)
 if ENABLE_JADOC
-       -test -d html/ja && cp -dpR ja/html/* $(DESTDIR)$(htmldir)/ja
+       -test -d $(builddir)/html/ja && cp -dpR $(builddir)/ja/html/* $(DESTDIR)$(htmldir)/ja
 endif
 
 uninstall-local:
@@ -53,23 +53,23 @@ dist-docs:
        cp -p html/* $(distdocdir)/html
 if ENABLE_JADOC
        -$(mkinstalldirs) $(distdocjadir)/html/ja
-       cp -p html/* $(distdocjadir)/html/ja
+       cp -p ja/html/* $(distdocjadir)/html/ja
 endif
 
 CMNTST=<span class="comment">/
 CMNTED=/</span>
 
-html/index.html: Doxyfile Doxyfile.en \
+html/index.html: $(builddir)/Doxyfile $(top_srcdir)/doc/Doxyfile.en \
                $(doxygen_input) $(CCUNITSRCS) $(DOXYSRCS)
-       doxygen Doxyfile.en
+       doxygen $(top_srcdir)/doc/Doxyfile.en
        sed -e 's!\($(CMNTST)\)/\(\*.*\*\)\\\($(CMNTED)\)!\1\2\3!g' \
                html/cookbook.html > cookbook-cmntfix.html
        mv cookbook-cmntfix.html html/cookbook.html
 
 if ENABLE_JADOC
-ja/html/index.html: Doxyfile Doxyfile.en \
+ja/html/index.html: $(builddir)/Doxyfile $(top_srcdir)/doc/Doxyfile.ja \
                $(doxygen_input) $(CCUNITSRCS) $(DOXYSRCS)
-       doxygen Doxyfile.ja
+       doxygen $(top_srcdir)/doc/Doxyfile.ja
        sed -e 's!\($(CMNTST)\)/\(\*.*\*\)\\\($(CMNTED)\)!\1\2\3!g' \
                ja/html/cookbook.html > cookbook-cmntfix.html
        mv cookbook-cmntfix.html ja/html/cookbook.html