Source

auctex / Makefile

Full commit
# Makefile for AUC TeX 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.

# remove the MULE_ELCS line for building without Mule.

VERSION = 1.18
AUTHOR_VERSION = 9.7p
MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
PACKAGE = auctex
PKG_TYPE = regular
REQUIRES = xemacs-base
CATEGORY = wp

ELCS = auc-old.elc bib-cite.elc font-latex.elc latex.elc \
	multi-prompt.elc tex-buf.elc tex-info.elc tex.elc

EXTRA_SOURCES = CHANGES PROBLEMS README tex-site.el

ETC_ELCS = etc/amsart.elc etc/amsbook.elc etc/amstex.elc etc/article.elc \
	etc/book.elc etc/danish.elc etc/slovak.elc etc/czech.elc \
	etc/amsmath.elc etc/amstext.elc etc/amsbsy.elc etc/amsopn.elc \
	etc/amsthm.elc etc/natbib.elc etc/dinbrief.elc etc/dk.elc \
	etc/dutch.elc etc/epsf.elc etc/foils.elc etc/german.elc \
	etc/harvard.elc etc/j-article.elc etc/j-book.elc etc/j-report.elc \
	etc/jarticle.elc etc/jbook.elc etc/jreport.elc etc/latexinfo.elc \
	etc/letter.elc etc/plfonts.elc etc/plhb.elc etc/psfig.elc \
	etc/report.elc etc/slides.elc etc/swedish.elc etc/virtex.elc

DATA_FILES = $(ETC_ELCS) $(ETC_ELCS:%.elc=%.el)
DATA_DEST = $(PACKAGE)/style
INFO_FILES = texi/auctex.info*
TEXI_FILES = texi/auc-tex.texi texi/changes.texi texi/history.texi \
	texi/install.texi texi/intro.texi texi/math-ref.tex texi/tex-ref.tex
MANUAL = auctex

PRELOADS = -l ./lpath.el

include ../../XEmacs.rules

GENERATED += custom-load.elc

ifeq ($(BUILD_MULE),t)
MULE_ELCS = tex-jp.elc
else
MULE_ELCS =
endif

all:: $(ELCS) $(MULE_ELCS) $(ETC_ELCS) auto-autoloads.elc custom-load.elc texi

auto-autoloads.el: $(ELCS:.elc=.el) $(MULE_ELCS:.elc=.el) _pkg.el
	$(XEMACS) $(VANILLA) -batch \
		-eval "(setq autoload-package-name \"$(PACKAGE)\")" \
		-eval "(setq generated-autoload-file \"./auto-autoloads.el\")" \
		-l autoload -f batch-update-autoloads $^

clean::
	rm -f texi/*.info*

.PHONY: texi

texi:
	$(MAKE) -C texi info

srckit: srckit-std

binkit: binkit-common