X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=Makefile.in;h=c2fb864aa46a8d3118557f9fa6a074e354dc7d56;hb=0f9db1ac7407c1a0c4e2e22907321b2ba5895da6;hp=4dd86a5b6e37d02835f7e5d0843a0c7e95a55228;hpb=bc2ca8c1a65acaf43333fc7f069762d8ce8cd6bb;p=elisp%2Fgnus-doc-ja.git diff --git a/Makefile.in b/Makefile.in index 4dd86a5..c2fb864 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,32 +1,40 @@ +@SET_MAKE@ +DVIPDFMX=@DVIPDFMX@ EMACS=@EMACS@ EMACSINFO=$(EMACS) -batch -q -no-site-file -l infohack.el -f batch-makeinfo INFO_DEPS=gnus-ja.info message-ja.info emacs-mime-ja.info\ - pgg-ja.info sasl-ja.info sieve-ja.info + pgg-ja.info sasl-ja.info sieve-ja.info gnus-coding-ja.info auth-ja.info INSTALL=@INSTALL@ INSTALL_DATA=@INSTALL_DATA@ INSTALL_INFO=install-info JBIBTEX=@JBIBTEX@ +PDVIPS=@PDVIPS@ PTEX=@PTEX@ SHELL=/bin/sh TEXI2DVI=@TEXI2DVI@ prefix=@prefix@ +datarootdir=@datarootdir@ infodir=@infodir@ -.SUFFIXES: .texi +.SUFFIXES: .pdf .ps .texi all: $(INFO_DEPS) +# please modify this for all the web manual targets +webhack: clean + $(MAKE) pdf MAKEINFO_OPTS="-DWEBHACKDEVEL $(MAKEINFO_OPTS)" + .texi.info: @texi=$<; rm -f $@ $@-[0-9] $@-[0-9][0-9]; $(EMACSINFO) $$texi t install: all - $(SHELL) ./mkinstalldirs $(infodir) + $(SHELL) ./mkinstalldirs "$(infodir)" @list='$(INFO_DEPS)';\ for file in $$list; do\ for ifile in `echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do\ if test -f $$ifile; then\ - echo " $(INSTALL_DATA) $$ifile $(infodir)/$$ifile";\ - $(INSTALL_DATA) $$ifile $(infodir)/$$ifile;\ + echo "$(INSTALL_DATA) $$ifile \"$(infodir)/$$ifile\"";\ + $(INSTALL_DATA) $$ifile "$(infodir)/$$ifile";\ else : ; fi;\ done;\ done @@ -34,24 +42,36 @@ install: all | fgrep -s -v -i debian'>/dev/null 2>&1; then\ list='$(INFO_DEPS)';\ for file in $$list; do\ - if test -f $(infodir)/$$file; then\ - echo " $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/$$file";\ - $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/$$file || :;\ + if test -f "$(infodir)/$$file"; then\ + echo "$(INSTALL_INFO) --info-dir=\"$(infodir)\" \"$(infodir)/$$file\"";\ + $(INSTALL_INFO) --info-dir="$(infodir)" "$(infodir)/$$file" || :;\ else : ; fi\ done;\ else : ; fi dvi: gnus-ja.dvi message-ja.dvi emacs-mime-ja.dvi\ - pgg-ja.dvi sasl-ja.dvi sieve-ja.dvi + pgg-ja.dvi sasl-ja.dvi sieve-ja.dvi gnus-coding-ja.dvi auth-ja.dvi .texi.dvi: sed -e '/@iflatex/,/@end iflatex/d' $< > gnustmp.texi - env TEX=$(PTEX) BIBTEX=$(JBIBTEX) $(TEXI2DVI) -l ja -o $@ gnustmp.texi + env TEX=$(PTEX) BIBTEX=$(JBIBTEX) $(TEXI2DVI) -o $@ gnustmp.texi rm -f gnustmp.* +pdf: gnus-ja.pdf message-ja.pdf emacs-mime-ja.pdf\ + pgg-ja.pdf sasl-ja.pdf sieve-ja.pdf gnus-coding-ja.pdf auth-ja.pdf + +.texi.pdf: + i=`basename $@ .pdf`; $(MAKE) $$i.dvi; $(DVIPDFMX) $$i + +ps: gnus-ja.ps message-ja.ps emacs-mime-ja.ps\ + pgg-ja.ps sasl-ja.ps sieve-ja.ps gnus-coding-ja.ps auth-ja.ps + +.texi.ps: + i=`basename $@ .ps`; $(MAKE) $$i.dvi; $(PDVIPS) $$i + clean: - rm -f *.dvi *.info *.info-[0-9] *.info-[0-9][0-9] *.orig *~\ - gnustmp.* missfont.log + rm -f *.dvi *.info *.info-[0-9] *.info-[0-9][0-9] *.orig *.pdf *.ps *~\ + gnustmp.* missfont.log distclean: clean rm -fr autom4te.cache