Source

mew / Makefile

# Makefile for Mew lisp code

# This file is part of XEmacs.

# XEmacs 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.

# XEmacs 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 XEmacs; see the file COPYING.  If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.

VERSION = 1.08
AUTHOR_VERSION = 1.93b38x1
MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
PACKAGE = mew
PKG_TYPE = regular
REQUIRES = mew
CATEGORY = comm

ELCS = mew/mew.elc mew/mew-attach.elc mew/mew-bq.elc mew/mew-cache.elc \
	mew/mew-complete.elc mew/mew-decode.elc mew/mew-demo.elc \
	mew/mew-draft.elc mew/mew-encode.elc mew/mew-env.elc mew/mew-ext.elc \
	mew/mew-fib.elc mew/mew-func.elc mew/mew-header.elc \
	mew/mew-highlight.elc mew/mew-mark.elc \
	mew/mew-message.elc mew/mew-mime.elc mew/mew-minibuf.elc \
	mew/mew-mule0.elc mew/mew-mule2.elc mew/mew-mule3.elc \
	mew/mew-pgp.elc mew/mew-pick.elc mew/mew-refile.elc \
	mew/mew-scan.elc mew/mew-sort.elc mew/mew-summary.elc \
	mew/mew-syntax.elc mew/mew-temacs.elc mew/mew-unix.elc \
	mew/mew-vars.elc mew/mew-virtual.elc mew/mew-win32.elc \
	mew/mew-xemacs.elc

INFO_FILES = mew.info*
INFO_DEP = mew.info
TEXI_FILES = mew/info/mew.texi mew/info/00readme hack-mew.texi.el
MANUAL = mew
DATA_FILES = mew/etc/*.img mew/etc/*.xpm mew/etc/*.xbm
DATA_DEST = $(PACKAGE)

AUTOLOAD_PATH = mew

include ../../XEmacs.rules

ifeq ($(BUILD_MULE),t)
MANUAL += mew.jis
TEXI_FILES += hack-mew-jis.texi.el
INFO_FILES += mew.jis.info*
INFO_DEP += mew.jis.info
ELCS += mew/mew-lang-jp.elc
endif

PRELOADS = -eval "(push \"`pwd`/mew/\" load-path)"

all:: $(AUTOLOAD_PATH)/auto-autoloads.elc $(ELCS) $(INFO_DEP)

mew.info: mew/info/mew.texi
	$(XEMACS) -batch -vanilla \
		-eval "(insert-file-contents \"mew/info/mew.texi\")" \
		-l ./hack-mew.texi.el \
		-l texinfmt -f texinfo-format-buffer \
		-eval '(save-buffer 0)'

ifeq ($(BUILD_MULE),t)
mew.jis.info: mew/info/mew.texi
	$(XEMACS) -batch -vanilla \
		-eval "(insert-file-contents \"mew/info/mew.texi\")" \
		-l ./hack-mew-jis.texi.el \
		-l texinfmt -f texinfo-format-buffer \
		-eval '(setq file-coding-system (quote iso-2022-7))' \
		-eval '(save-buffer 0)'
endif

srckit: srckit-std

binkit: binkit-common