From ee46f599950c0611966bbbaf94a6b95384c8e83e Mon Sep 17 00:00:00 2001 From: tsntsumi Date: Fri, 27 Aug 2010 10:54:49 +0000 Subject: [PATCH] inserted the relative path from configure. --- doc/Makefile.am | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 803f16e..9f2a7c1 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -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 @@ -20,15 +20,15 @@ # $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=/ CMNTED=/ -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 -- 2.11.0