## Process this file with automake to produce Makefile.in ## Copyright (C) 2003 TSUTSUMI Kikuo. ## This file is part of the CCUnit Library. ## The CCUnit Library is free software; you can redistribute it and/or ## modify it under the terms of the GNU Lesser General Public License ## as published by the Free Software Foundation; either version 2.1 of ## the License, or (at your option) any later version. ## The CCUnit Library is distributed in the hope that it will be ## useful, but WITHOUT ANY WARRANTY; without even the implied warranty ## of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU Lesser General Public License for more details. ## You should have received a copy of the GNU Lesser General Public ## License along with the CCUnit Library; see the file COPYING.LESSER. ## If not, write to the Free Software Foundation, Inc., 59 Temple ## Place - Suite 330, Boston, MA 02111-1307, USA. # $Id$ EXTRA_DIST = $(doxygen_input) $(static_pages) $(DOXYSRCS) doxygen_input=header.html footer.html DOXYSRCS=mainpage.dox cookbook.dox html_DATA = html/index.html htmldir = $(pkgdatadir)/html if ENABLE_JADOC htmlja_DATA = ja/html/index.html htmljadir = $(htmldir)/ja endif static_pages=FAQ install-data-hook: -test -d html && cp -p $(static_pages) $(DESTDIR)$(htmldir) -test -d html && cp -dpR html/* $(DESTDIR)$(htmldir) if ENABLE_JADOC -test -d html/ja && cp -dpR ja/html/* $(DESTDIR)$(htmldir)/ja endif uninstall-local: $(RM) -rf $(DESTDIR)$(htmldir) distdocdir=@DISTDOCDIR@ distdocjadir=@DISTDOCJADIR@ dist-docs: -$(mkinstalldirs) $(distdocdir)/html cp -p $(static_pages) $(distdocdir)/html cp -p html/* $(distdocdir)/html if ENABLE_JADOC -$(mkinstalldirs) $(distdocjadir)/html/ja cp -p html/* $(distdocjadir)/html/ja endif CMNTST=/ CMNTED=/ html/index.html: Doxyfile Doxyfile.en \ $(doxygen_input) $(CCUNITSRCS) $(DOXYSRCS) doxygen 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 \ $(doxygen_input) $(CCUNITSRCS) $(DOXYSRCS) doxygen 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 endif CLEANFILES=*~ .*~ ./\#*\# *.log latex html man