1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
|
### Makefile --- create binary package of X-Symbol
## Copyright (C) 1998-1999 Free Software Foundation, Inc.
## Author: Christoph Wedler <wedler@fmi.uni-passau.de>
## Version: $Id: Makefile,v 1.6 1999/01/18 10:46:46 wedler Exp wedler $
## Keywords: fonts, WYSIWYG, LaTeX, HTML, wp, math
## X-URL: http://www.fmi.uni-passau.de/~wedler/x-symbol/
# This file is not part of XEmacs.
# This software 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.
# This software 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 This software; 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.08
AUTHOR_VERSION = 3.3b
MAINTAINER = Christoph Wedler <wedler@fmi.uni-passau.de>
PACKAGE = x-symbol
PKG_TYPE = regular
REQUIRES = xemacs-base
CATEGORY = wp
RELEASEDIR = $(HOME)/public_html/x-symbol
PACKAGEDIR = $(HOME)/.xemacs
##RELEASEDIR = /tmp/test
## nil if you want to use XEmacs-21' feature of uninterned symbols in macros
XMAS20 = t
MAKEINFO_FLAGS = -I ./man --no-split
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
DATA_DEST = $(PACKAGE)
DATA_FILES = etc/colormap138.xpm \
etc/RIP.xbm etc/drawing.xbm etc/escherknot.xbm etc/hourglass.xbm \
etc/recycle.xbm etc/termlock.xbm
DATA_1_DEST = $(PACKAGE)/fonts
DATA_1_FILES = fonts/Makefile fonts/makesub \
fonts/2helvR12.bdf fonts/3helvR12.bdf fonts/5etl14.bdf \
fonts/xsymb0_12.bdf fonts/xsymb1_12.bdf \
fonts/2helvR14.bdf fonts/3helvR14.bdf fonts/5etl16.bdf \
fonts/xsymb0_14.bdf fonts/xsymb1_14.bdf
DATA_2_DEST = $(PACKAGE)/origfonts
DATA_2_FILES = origfonts/helvR12.bdf origfonts/helvR14.bdf
DATA_3_DEST = $(PACKAGE)/pcf
DATA_3_FILES = pcf/fonts.dir pcf/*.pcf
INFO_FILES = man/x-symbol.info*
TEXI_FILES = man/Makefile man/x-symbol.texi
MANUAL = x-symbol
AUTOLOAD_PATH = lisp
include ./XEmacs.rules
GENERATED += lisp/custom-load.elc
EXCLUDES += --exclude 'RCS' --exclude '*.elc' --exclude '*.aux' \
--exclude '*.cp' --exclude '*.dvi' \
--exclude 'genfonts' --exclude 'pcf' \
--exclude 'Also' --exclude 'Fonts' --exclude 'Old' --exclude 'Tests' \
--exclude 'Utils' --exclude 'doc' --exclude 'release'
EXTRA_SOURCES = lisp/x-symbol-site.el
ifeq ($(BUILD_MULE),t)
MULE_ELCS = lisp/x-symbol-mule.elc
else
MULE_ELCS =
EXTRA_SOURCES += lisp/x-symbol-mule.el
endif
ifeq ($(XMAS20),t)
PRELOADS = -eval "(setq byte-compile-print-gensym nil)"
else
PRELOADS =
endif
PRELOADS += -eval "(push \"`pwd`/lisp/\" load-path)" -l auto-autoloads.el
all:: lisp/auto-autoloads.el $(MULE_ELCS) $(ELCS) \
lisp/auto-autoloads.elc lisp/custom-load.elc texinfo fonts
# lisp/auto-autoloads.elc lisp/custom-load.elc man/x-symbol.info
lisp: lisp/auto-autoloads.el $(MULE_ELCS) $(ELCS)
texinfo: man/x-symbol.texi
$(MAKE) -C man x-symbol.info
fonts:
$(MAKE) -C fonts mkdirs
$(MAKE) -C fonts pcfs
binaries:
xemacs -vanilla -batch \
-eval "(push (expand-file-name \"~/.xemacs/lisp/x-symbol/\") load-path)" -l auto-autoloads.el \
-eval "(setq x-symbol-data-directory (expand-file-name \"~/.xemacs/etc/x-symbol/\"))" -f x-symbol-exec-create
## xemacs, not $(XEMACS), since no-Mule!
$(MAKE) -C ~/.xemacs/etc/x-symbol/bin/sparc-sun-solaris2.6
.PHONY: clean-man srckit test release fonts binaries
srckit: clean-man srckit-std
clean-man:
rm -f man/x-symbol man/x-symbol.aux man/x-symbol.cp* \
man/x-symbol.dvi man/x-symbol.fn* man/x-symbol.ky* \
man/x-symbol.log man/x-symbol.pg* man/x-symbol.ps \
man/x-symbol.toc man/x-symbol.tp man/x-symbol.tp \
man/x-symbol.vr* man/x-symbol.info* man/x-symbol*.html
binkit: binkit-common
release: srckit man/x-symbol.ps binball
if [ ! -d $(RELEASEDIR) ]; then mkdir -p $(RELEASEDIR); fi
if [ ! -d $(RELEASEDIR)/man ]; then mkdir -p $(RELEASEDIR)/man; fi
(cd $(RELEASEDIR); rm -f $(PACKAGE)-*src.tar* $(PACKAGE)-*pkg.tar*)
$(RCOPY) $(STAGING)/$(PACKAGE)-$(VERSION)-src.tar.gz $(RELEASEDIR)
(cd $(RELEASEDIR); \
ln -s $(PACKAGE)-$(VERSION)-src.tar.gz $(PACKAGE)-src.tar.gz)
$(RCOPY) $(STAGING)/$(PACKAGE)-$(VERSION)-pkg.tar.gz $(RELEASEDIR)
(cd $(RELEASEDIR); \
ln -s $(PACKAGE)-$(VERSION)-pkg.tar.gz $(PACKAGE)-pkg.tar.gz)
$(RCOPY) man/x-symbol*.html man/x-symbol.ps $(RELEASEDIR)/man
gzip -v9 -f $(RELEASEDIR)/man/x-symbol.ps
$(RCOPY) ChangeLog $(RELEASEDIR)
test: texinfo binball
(cd $(PACKAGEDIR); rm -f $(PACKAGE)-*src.tar* $(PACKAGE)-*pkg.tar*)
$(RCOPY) $(STAGING)/$(PACKAGE)-$(VERSION)-pkg.tar.gz $(PACKAGEDIR)
(cd $(PACKAGEDIR); zcat $(PACKAGE)-$(VERSION)-pkg.tar.gz | tar xvf -)
man/x-symbol.ps: man/x-symbol.texi
$(MAKE) -C man all
|