Source

x-symbol / Makefile

# Makefile for x-symbol

# 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.01
AUTHOR_VERSION = 3.4.2
MAINTAINER = Steve Youngs <youngs@xemacs.org>
PACKAGE = x-symbol
PKG_TYPE = regular
REQUIRES = x-symbol xemacs-base auctex mail-lib
CATEGORY = standard

ELCS = lisp/x-symbol-nomule.elc \
	lisp/x-symbol-xmas20.elc lisp/x-symbol-xmas21.elc \
	lisp/x-symbol-hooks.elc lisp/x-symbol-macs.elc \
	lisp/x-symbol-vars.elc lisp/x-symbol.elc \
	lisp/x-symbol-image.elc lisp/x-symbol-exec.elc \
	lisp/x-symbol-tex.elc lisp/x-symbol-utex.elc lisp/x-symbol-sgml.elc

EXTRA_SOURCES = $(wildcard *.upstream) README lisp/x-symbol-site.el lisp/x-symbol-myuc.el

ifeq ($(BUILD_WITHOUT_MULE),)
ELCS += lisp/x-symbol-mule.elc
else
EXTRA_SOURCES += lisp/x-symbol-mule.el
endif

AUTOLOAD_PATH = lisp

DATA_FILES = $(wildcard etc/*.x[bp]m)
DATA_DEST = $(PACKAGE)

DATA_1_FILES = $(wildcard fonts/*.bdf) fonts/Makefile fonts/makesub
DATA_1_DEST = $(PACKAGE)/fonts

DATA_2_FILES = $(wildcard origfonts/*.bdf)
DATA_2_DEST = $(PACKAGE)/origfonts

DATA_3_FILES = pcf/*.pcf pcf/fonts.dir
DATA_3_DEST = $(PACKAGE)/pcf

TEXI_FILES = man/x-symbol.texi
INFO_FILES = man/x-symbol.info*

include ../../XEmacs.rules

GENERATED += $(AUTOLOAD_PATH)/custom-load.elc

PRELOADS = -l x-symbol.el

compile:: $(AUTOLOAD_PATH)/auto-autoloads.elc $(ELCS) \
		$(AUTOLOAD_PATH)/custom-load.elc \
		$(TEXI_FILES:%.texi=%.info) fonts

fonts::
	$(MAKE) -C fonts mkdirs
	$(MAKE) -C fonts pcfs

html:
	$(MAKE) $(MFLAGS) -C man html

binkit: binkit-common

clean::
	rm -rf genfonts pcf
	(cd man; $(MAKE) clean)

distclean::
	(cd man; $(MAKE) distclean)