diff options
author | Satoshi Asami <asami@FreeBSD.org> | 2000-01-27 21:51:21 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 2000-01-27 21:51:21 +0000 |
commit | 7a96c39f506a86f16cccd42aa74984b8827ab514 (patch) | |
tree | 04a5595ecd0ae7705165070f2a1ddc0fda6efe7a /japanese/emacs-manual/files | |
parent | bf93b56370ad593febac013a52f898bb02cf5bd9 (diff) |
Notes
Diffstat (limited to 'japanese/emacs-manual/files')
-rw-r--r-- | japanese/emacs-manual/files/Makefile.in | 12 | ||||
-rw-r--r-- | japanese/emacs-manual/files/PORT_TEXIFMT.MK | 16 |
2 files changed, 20 insertions, 8 deletions
diff --git a/japanese/emacs-manual/files/Makefile.in b/japanese/emacs-manual/files/Makefile.in index f8fd7393b50a..ae123a322465 100644 --- a/japanese/emacs-manual/files/Makefile.in +++ b/japanese/emacs-manual/files/Makefile.in @@ -2,19 +2,15 @@ TEXIFILE= emacs.texi INFOFILE= ../info/emacs-ja EMACS?= emacs -FORMAT_FLAG?= t EMACS_ARGS= -batch -nw --multibyte -no-init-file -no-site-file -EMACS_LOADLIBS= --load=texinfmt.el -EMACS_FUNCALLS= --eval "(texinfo-format-buffer ${FORMAT_FLAG})" -f save-buffer +EMACS_LOADLIBS= --load=texinfmt.el --load=PORT_TEXIFMT.MK +EMACS_FUNCALLS= --eval "(defconst PORT-TEXI \"${TEXIFILE}\")" -f port-texinfo-format all: ${INFOFILE} -MAKEINFO-BY-EMACS: .USE - ${EMACS} ${EMACS_ARGS} ${EMACS_LOADLIBS} ${.ALLSRC} ${EMACS_FUNCALLS} \ - > /dev/null 2>&1 - -${INFOFILE}: ${TEXIFILE} MAKEINFO-BY-EMACS +${INFOFILE}: ${TEXIFILE} + ${EMACS} ${EMACS_ARGS} ${EMACS_LOADLIBS} ${EMACS_FUNCALLS} install: all ${BSD_INSTALL_DATA} ${INFOFILE} ${PREFIX}/info diff --git a/japanese/emacs-manual/files/PORT_TEXIFMT.MK b/japanese/emacs-manual/files/PORT_TEXIFMT.MK new file mode 100644 index 000000000000..9443db0cbd56 --- /dev/null +++ b/japanese/emacs-manual/files/PORT_TEXIFMT.MK @@ -0,0 +1,16 @@ +;;; -*- Emacs-Lisp -*- +;;; PORT_TEXIFMT.MK --- for texinfo-format +;;; Code: + +(defun port-texinfo-format () + (let (obuf) + (find-file (expand-file-name PORT-TEXI)) + (setq obuf (current-buffer)) + (require 'texinfmt) + (texinfo-format-buffer t) + (set-buffer-file-coding-system 'iso-2022-jp) + (save-buffer) + (kill-buffer (current-buffer)) + (kill-buffer obuf))) + +;;; PORT_TEXIFMT.MK ends here |