auctex / Makefile

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


VERSION = 1.44
AUTHOR_VERSION = 11.54
MAINTAINER = Uwe Brauer <oub@mat.ucm.es>
PACKAGE = auctex
PKG_TYPE = regular
REQUIRES = xemacs-base
CATEGORY = standard

include ../../Local.rules

ELCS =  bib-cite.elc font-latex.elc latex.elc \
	toolbar-x.elc tex-bar.elc \
	multi-prompt.elc tex-buf.elc tex-info.elc tex-mik.elc \
	tex.elc texmathp.elc   context.elc \
	context-en.elc context-nl.elc tex-fold.elc \


EXTRA_SOURCES = CHANGES PROBLEMS README FAQ RELEASE TODO \
	ChangeLog.auctex tex-site.el  \

ETC_ELCS = etc/units.elc etc/nicefrac.elc etc/alltt.elc \
	   etc/slides.elc    etc/foils.elc	   etc/subfigure.elc etc/amstex.elc \
	   etc/jurabib.elc etc/listings.elc etc/url.elc etc/csquotes.elc\
	   etc/ltx-base.elc etc/ltxdoc.elc etc/captcont.elc \
	   etc/emp.elc  etc/paralist.elc etc/scrpage2.elc \
	   etc/alphanum.elc   etc/doc.elc etc/jura.elc etc/beamer.elc \
	   etc/italian.elc 	 etc/prosper.elc etc/booktabs.elc \
	   etc/article.elc   etc/book.elc     etc/letter.elc \
	   etc/report.elc    etc/amsart.elc   etc/amsbook.elc \
	   etc/epsf.elc      etc/psfig.elc    etc/latexinfo.elc \
	   etc/dutch.elc     etc/german.elc   etc/dk.elc \
	   etc/j-article.elc etc/j-book.elc   etc/j-report.elc \
	   etc/jarticle.elc  etc/jbook.elc    etc/jreport.elc \
	   etc/dinbrief.elc  etc/virtex.elc   etc/plfonts.elc \
	   etc/plhb.elc      etc/harvard.elc	etc/swedish.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/index.elc     etc/makeidx.elc  etc/multind.elc \
	   etc/varioref.elc  etc/fancyref.elc	etc/mdwlist.elc \
	   etc/ngerman.elc   etc/graphicx.elc	etc/graphics.elc \
	   etc/verbatim.elc  etc/scrbase.elc  etc/scrartcl.elc \
	   etc/scrbook.elc   etc/scrreprt.elc	etc/scrlttr2.elc

EXTRA_DEPENDENCIES = $(ETC_ELCS) texi/math-ref.dvi texi/tex-ref.dvi \
	texi/math-ref.log texi/tex-ref.log INSTALLATION README CHANGES

DATA_FILES = $(ETC_ELCS) $(ETC_ELCS:%.elc=%.el)
DATA_DEST = $(PACKAGE)/style
DATA_1_FILES = .dummy
DATA_1_DEST = $(PACKAGE)/var
DATA_2_FILES = $(wildcard images/*.xpm)
DATA_2_DEST = $(PACKAGE)/images


EXPLICIT_DOCS = texi/auctex.texi
EXTRA_TEXI_FILES = texi/changes.texi texi/history.texi texi/install.texi \
		   texi/intro.texi texi/macros.texi texi/intro.texi \
		   texi/todo.texi texi/wininstall.texi
EXTRA_DOC_FILES = texi/tex-ref.tex

PRELOADS = -l lpath.el

ifeq ($(BUILD_WITHOUT_MULE),)
ELCS += tex-jp.elc
endif


include ../../XEmacs.rules

%.dvi: %.tex
ifneq ($(TEX),)
	cd $(@D) && $(TEX) $(*F)
else
	-
endif

## 70+ pages
texi/auc-tex.dvi: texi/auc-tex.texi
	cd $(@D) && $(TEX) "\nonstopmode\input auc-tex.texi" \
	&& texindex auc-tex.ky && texindex auc-tex.fn \
	&& texindex auc-tex.vr && texindex auc-tex.cp \
	&& $(TEX) "\nonstopmode\input auc-tex.texi"

RUN_MAKEINFO_INDIVIDUAL = $(MAKEINFO) -I texi/ --no-validate  --force --no-headers -o $@ $<

INSTALLATION: texi/install.texi
	-$(RUN_MAKEINFO_INDIVIDUAL)

README: texi/intro.texi
	-$(RUN_MAKEINFO_INDIVIDUAL)

CHANGES: texi/changes.texi
	-$(RUN_MAKEINFO_INDIVIDUAL)

# does not build.
HISTORY: texi/history.texi
	-$(RUN_MAKEINFO_INDIVIDUAL)
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.