1 # Makefile for x-symbol
3 # This file is part of XEmacs.
5 # XEmacs is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by the
7 # Free Software Foundation; either version 2, or (at your option) any
10 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 # You should have received a copy of the GNU General Public License
16 # along with XEmacs; see the file COPYING. If not, write to
17 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 # Boston, MA 02111-1307, USA.
21 AUTHOR_VERSION = 4.5.1
22 MAINTAINER = Uwe Brauer <oub@xemacs.org>
25 REQUIRES = x-symbol xemacs-base auctex mail-lib
28 include ../../Local.rules.inc
30 ELCS = lisp/x-symbol-bib.elc lisp/x-symbol-hooks.elc lisp/x-symbol-image.elc \
31 lisp/x-symbol-macs.elc lisp/x-symbol-nomule.elc lisp/x-symbol-sgml.elc \
32 lisp/x-symbol-tex.elc lisp/x-symbol-texi.elc lisp/x-symbol-vars.elc \
33 lisp/x-symbol-xmacs.elc lisp/x-symbol.elc
35 EXTRA_SOURCES = $(wildcard *.upstream) README lisp/x-symbol-site.el lisp/x-symbol-myuc.el
37 ifeq ($(BUILD_WITHOUT_MULE),)
38 ELCS += lisp/x-symbol-mule.elc
40 EXTRA_SOURCES += lisp/x-symbol-mule.el
45 DATA_FILES = $(wildcard etc/*.x[bp]m)
46 DATA_DEST = $(PACKAGE)
48 DATA_1_FILES = $(wildcard fonts/*.bdf) fonts/Makefile fonts/makesub
49 DATA_1_DEST = $(PACKAGE)/fonts
51 DATA_2_FILES = $(wildcard origfonts/*.bdf)
52 DATA_2_DEST = $(PACKAGE)/origfonts
54 DATA_3_FILES = pcf/*.pcf pcf/fonts.dir
55 DATA_3_DEST = $(PACKAGE)/pcf
57 EXPLICIT_DOCS = man/x-symbol.texi
59 EXTRA_DOC_FILES = man/$(PACKAGE).css man/$(PACKAGE).init man/Makefile.upstream \
62 PRELOADS = -l x-symbol.el
64 # NOTE: texi2html is run after cd'ing into the subdirectory.
66 # FIXME: I can't get the '-init_file=x-symbol.init' to work. It's needed
67 # to add HTML code that includes the stylesheet file 'x-symbol.css'.
68 # Unfortunately I know didly squat about Perl. - Steve Youngs.
69 # EXTRA_HTML_FILES = man/index.html
70 TEXI2HTML_FLAGS += -Verbose -expand info -menu -number -lang="en" \
71 -top_file="index.html" # -init_file="x-symbol.init"
73 include ../../XEmacs.rules
78 $(MAKE) -C fonts mkdirs