Remove non-free old and crusty clearcase pkg
[packages] / xemacs-packages / x-symbol / Makefile
1 # Makefile for x-symbol
2
3 # This file is part of XEmacs.
4
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
8 # later version.
9
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
13 # for more details.
14
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.
19
20 VERSION = 1.16
21 AUTHOR_VERSION = 4.5.1
22 MAINTAINER = Uwe Brauer <oub@xemacs.org>
23 PACKAGE = x-symbol
24 PKG_TYPE = regular
25 REQUIRES = x-symbol xemacs-base auctex mail-lib
26 CATEGORY = standard
27
28 include ../../Local.rules.inc
29
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
34
35 EXTRA_SOURCES = $(wildcard *.upstream) README lisp/x-symbol-site.el lisp/x-symbol-myuc.el
36
37 ifeq ($(BUILD_WITHOUT_MULE),)
38 ELCS += lisp/x-symbol-mule.elc
39 else
40 EXTRA_SOURCES += lisp/x-symbol-mule.el
41 endif
42
43 AUTOLOAD_PATH = lisp
44
45 DATA_FILES = $(wildcard etc/*.x[bp]m)
46 DATA_DEST = $(PACKAGE)
47
48 DATA_1_FILES = $(wildcard fonts/*.bdf) fonts/Makefile fonts/makesub
49 DATA_1_DEST = $(PACKAGE)/fonts
50
51 DATA_2_FILES = $(wildcard origfonts/*.bdf)
52 DATA_2_DEST = $(PACKAGE)/origfonts
53
54 DATA_3_FILES = pcf/*.pcf pcf/fonts.dir
55 DATA_3_DEST = $(PACKAGE)/pcf
56
57 EXPLICIT_DOCS = man/x-symbol.texi
58
59 EXTRA_DOC_FILES = man/$(PACKAGE).css man/$(PACKAGE).init man/Makefile.upstream \
60         man/.ispell_xsymb
61
62 PRELOADS = -l x-symbol.el
63
64 # NOTE: texi2html is run after cd'ing into the subdirectory.
65
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"
72
73 include ../../XEmacs.rules
74
75 compile:: fonts
76
77 fonts::
78         $(MAKE) -C fonts mkdirs
79         $(MAKE) -C fonts pcfs
80
81 clean::
82         rm -rf genfonts pcf