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.13
AUTHOR_VERSION = 4.5.1
MAINTAINER = Uwe Brauer <oub@xemacs.org>
PACKAGE = x-symbol
PKG_TYPE = regular
REQUIRES = x-symbol xemacs-base auctex mail-lib
CATEGORY = standard

include ../../Local.rules.inc

ELCS = lisp/x-symbol-bib.elc lisp/x-symbol-hooks.elc lisp/x-symbol-image.elc \
	lisp/x-symbol-macs.elc lisp/x-symbol-nomule.elc lisp/x-symbol-sgml.elc \
	lisp/x-symbol-tex.elc lisp/x-symbol-texi.elc lisp/x-symbol-vars.elc \
	lisp/x-symbol-xmacs.elc lisp/x-symbol.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

EXPLICIT_DOCS = man/x-symbol.texi

EXTRA_DOC_FILES = man/$(PACKAGE).css man/$(PACKAGE).init man/Makefile.upstream \
	man/.ispell_xsymb

PRELOADS = -l x-symbol.el

# NOTE: texi2html is run after cd'ing into the subdirectory.

# FIXME: I can't get the '-init_file=x-symbol.init' to work.  It's needed
# to add HTML code that includes the stylesheet file 'x-symbol.css'.
# Unfortunately I know didly squat about Perl. - Steve Youngs.
ifeq ($(TEXI2HTML_1_56K), t)
TEXI2HTML_FLAGS += -verbose -expandinfo -menu -number
else
# EXTRA_HTML_FILES = man/index.html
TEXI2HTML_FLAGS += -Verbose -expand info -menu -number -lang="en" \
	-top_file="index.html" # -init_file="x-symbol.init"
endif

include ../../XEmacs.rules

compile:: fonts

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

clean::
	rm -rf genfonts pcf
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.