1. xemacs
  2. ess


ess / Makefile

# Makefile for Packaged ESS

# 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.02
MAINTAINER = A.J. Rossini <rossini@xemacs.org>
PKG_TYPE = regular
REQUIRES = xemacs-base mail-lib fsf-compat edit-utils
CATEGORY = standard

ELS  = $(wildcard lisp/*.el)
ELCS = $(ELS:.el=.elc)

INFO_FILES = texi/ess.info*
TEXI_FILES = $(wildcard texi/*.texi) texi/ChangeLog
EXTRA_OBJS = texi/version.texi $(wildcard texi/*.html)

DATA_FILES = etc/BACKBUGS.BAT etc/backbugs $(wildcard etc/ess-*) \
	$(wildcard etc/sas-*) etc/function-outline.S


include ../../XEmacs.rules

GENERATED += lisp/custom-load.elc

PRELOADS = -eval \("push \"./lisp\" load-path"\) -l ess-emcs.el -l ess-comp.el

all:: prepversion $(AUTOLOAD_PATH)/auto-autoloads.elc \
	$(AUTOLOAD_PATH)/custom-load.elc $(ELCS) info

	@echo "@macro essver{}" > texi/version.texi
	@echo "$(AUTHOR_VERSION)" >> texi/version.texi
	@echo "@end macro" >> texi/version.texi

info: prepversion
	$(MAKE) $(MFLAGS) -C texi ess.info

html: prepversion
	$(MAKE) $(MFLAGS) -C texi html

.PHONY: binkit

binkit: binkit-common