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.10
AUTHOR_VERSION = 1.94.2
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-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-addrbook.elc mew/mew-mule.elc
EXTRA_SOURCES = mew/mew-mule0.el mew/mew-mule2.el mew/mew-mule3.el \
	mew/mew-xemacs.el

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 mew/etc/*.png
DATA_DEST = $(PACKAGE)

AUTOLOAD_PATH = mew

include ../../XEmacs.rules

ifeq ($(BUILD_WITHOUT_MULE),)
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


# APA: XEmacs native NT currently (2000-06-23) has shortcomings we
# need to temporarily work around.
ifeq ($(XEMACS_NATIVE_NT),t)
# APA: XEmacs native NT currently needs this quoting of
# command-line-rguments.
PRELOADS = -eval "(push (expand-file-name \\\"mew\\\") load-path)" -l ./poe.el
INSERT_MEW_TEXI = (insert-file-contents \\\"mew/info/mew.texi\\\")
else
PRELOADS = -eval "(push (expand-file-name \"mew\") load-path)" -l ./poe.el
INSERT_MEW_TEXI = (insert-file-contents \"mew/info/mew.texi\")
endif

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

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

ifeq ($(BUILD_WITHOUT_MULE),)
mew.jis.info: mew/info/mew.texi
	$(XEMACS) -batch -vanilla \
		-eval "$(INSERT_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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.