X-Git-Url: http://git.chise.org/gitweb/?p=m17n%2Fm17n-docs.git;a=blobdiff_plain;f=Makefile.am;h=d9cab2cad6b456d4ebe036e0ceaf39bffe9842b7;hp=9028515e25c0f31cac41295fece3095e07475001;hb=8de95b8825322b99e8df39279578a07f5f8240f7;hpb=d5b639418e6f1532218a9ec58738290bd8f87322 diff --git a/Makefile.am b/Makefile.am index 9028515..d9cab2c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,28 @@ -# -*- coding: euc-jp; -*- -# This makefile is for maintainer only. +# Makefile.am -- Makefile for the m17n library documentation. +# -*- coding: euc-jp; -*- +# Copyright (C) 2003 +# National Institute of Advanced Industrial Science and Technology (AIST) +# Registration Number H15PRO112 + +# This file is part of the m17n library documentation, a sub-part of +# the m17n library. + +# The m17n library is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. + +# The m17n 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 General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with the m17n library; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + +## Process this file with Automake to create Makefile.in pkgdata_DATA = \ usr/html/index.html \ @@ -19,6 +42,9 @@ install-pkgdataDATA: $(pkgdata_DATA) cd usr/man3m; \ for f in *.3m; do $(INSTALL_DATA) $$f $(mandir)/man3m/$$f; done +# +# The followings are for maintainers only. +# if MAINTAINER_MODE SRCFILES = $(shell echo @M17NLIB@/src/*.[ch] @M17NLIB@/example/README.txt) @@ -29,9 +55,9 @@ PROJECT_VERSION = @PACKAGE_VERSION@ DOXYGEN = doxygen -usr-html html-usr: usr/html/index.html -ja-html html-ja: ja/html/index.html -dev-html html-dev: dev/html/index.html +usr-html html-usr: usr/html/index.html usr/html/parrot.gif +ja-html html-ja: ja/html/index.html ja/html/parrot.gif +dev-html html-dev: dev/html/index.html dev/html/parrot.gif usr-latex latex-usr: usr/latex/m17n-lib.ps ja-latex latex-ja: ja/latex/m17n-lib.ps @@ -110,11 +136,16 @@ doxyfile-man.usr: doxyfile-man -e 's/%OUTPUT_LANGUAGE%/English/' \ < $< >$@ -%/html/index.html: doxyfile-html.% ${SRCFILES} data-%/mainpage.txt data-%/dbformat.txt \ +%/html/index.html: doxyfile-html.% ${SRCFILES} \ + header.html footer.html \ + data-%/mainpage.txt data-%/dbformat.txt \ utils/%_filter.rb m17n-lib.css rm -rf `dirname $@` ${DOXYGEN} $< +%/html/parrot.gif: parrot.gif + cp $< $@ + %/latex/refman.tex: doxyfile-latex.% ${SRCFILES} data-%/mainpage.txt data-%/dbformat.txt \ utils/%_filter.rb rm -rf `dirname $@` @@ -165,4 +196,19 @@ ja/man3m/%.3m: ja/man/man3/%.3m sample-ja.c utils/mkman.rb ruby utils/mkman.rb ja rm -rf doxytemp sample +CLEANFILES=doxyfile-* *.tar.gz warning *~ + +clean-local: + rm -rf usr dev ja doxywork + +WEBDIR = /project/web/extra/m17n-lib/m17n-docs + +web: $(pkgdata_DATA) + [ -d ${WEBDIR} ] || mkdir ${WEBDIR} + [ -f ${distdir}.tar.gz ] || make dist + cp ${distdir}.tar.gz ${WEBDIR} + cp usr/html/* ${WEBDIR} + +.PRECIOUS: %/latex/m17n-lib.tex %/man/man3/m17nIntro.3m + endif