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 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
|
### Makefile --- create binary package of X-Symbol
## Copyright (C) 1998-2000 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 d029492 $
## 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 is a float! 1.99 for all beta versions
VERSION = 1.99
AUTHOR_VERSION = 4.0g/beta
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/xemacs-packages
## nil if you want to use XEmacs-21' feature of uninterned symbols in macros
XMAS20 = nil
CONFIGURATION = hppa1.1-hp-hpux11.00
## other program settings after "include ./XEmacs.rules" below
ZIP = gzip -v9
MAKEINFO_FLAGS = -I ./man --no-split
###===========================================================================
## Shouln't be interesting from now on... (except "include ./XEmacs.rules")
ELCS = 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 \
lisp/x-symbol-texi.elc
## now Emacs version dependend files (no autoloads, no custom)
MULE_ELCS = lisp/x-symbol-mule.elc lisp/x-symbol-nomule.elc \
lisp/x-symbol-xmas20.elc lisp/x-symbol-xmas21.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/nilxs.bdf \
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
DATA_4_DEST = $(PACKAGE)/genfonts
DATA_4_FILES = genfonts/*.bdf
INFO_FILES = man/x-symbol.info*
TEXI_FILES = man/Makefile man/x-symbol.texi
WWW_FILES = www/changes.html www/emacs.html www/features.html www/index.html \
www/setup.html www/colors.png www/context.png www/grid.png \
www/images.png www/key.png www/overview.png www/subscripts.png \
www/token.png www/xsymb.png
MANUAL = x-symbol
AUTOLOAD_PATH = lisp
###===========================================================================
include ./XEmacs.rules
## overwrite settings of XEmacs.rules
RCOPY = cp -p
TAR = /usr/local/guru/gtar -h
###===========================================================================
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-emacs.el
ifeq ($(XMAS20),t)
PRELOADS = -eval "(setq byte-compile-print-gensym nil)"
else
PRELOADS =
endif
PRELOADS += -eval "(progn (if (featurep 'x-symbol-autoloads) (unload-feature 'x-symbol-autoloads)) (push \"`pwd`/lisp/\" load-path))" -l auto-autoloads.el
# With XEmacs-21.1, -vanilla now only includes -no-early-packages, not
# -no-packages. This is not useful at all. If there is a decent function to
# get the load-path of packages in $(REQUIRES), I would use it. If
# package-compile.el could be used without changing my file structure, I would
# probably use it.
all:: lisp/auto-autoloads.el $(MULE_ELCS) $(ELCS) \
lisp/auto-autoloads.elc lisp/custom-load.elc texinfo fonts
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 \"$(PACKAGEDIR)/lisp/x-symbol/\") load-path)" -l auto-autoloads.el \
-eval "(setq x-symbol-data-directory (expand-file-name \"$(PACKAGEDIR)/etc/x-symbol/\"))" -f x-symbol-exec-create
## xemacs, not $(XEMACS), since no-Mule!
$(MAKE) -C $(PACKAGEDIR)/etc/x-symbol/bin/$(CONFIGURATION)
.PHONY: srckit test release fonts binaries
srckit: distclean
if [ ! -d $(STAGING) ]; then mkdir -p $(STAGING); fi
(cd ..; \
rm -f $(STAGING)/$(PACKAGE)-beta.tar*; \
$(TAR) $(EXCLUDES) -cf $(STAGING)/$(PACKAGE)-beta.tar $(PACKAGE)-beta)
gzip -v9 $(STAGING)/$(PACKAGE)-beta.tar
clean: mostlyclean
$(MAKE) -C man clean
$(MAKE) -C fonts clean
binkit: binkit-common
release: srckit binball
if [ ! -d $(RELEASEDIR) ]; then mkdir -p $(RELEASEDIR); fi
(cd $(RELEASEDIR); \
rm -f $(PACKAGE)-beta.tar* $(PACKAGE)-$(VERSION)-pkg.tar*)
$(RCOPY) $(STAGING)/$(PACKAGE)-beta.tar.gz $(RELEASEDIR)
$(RCOPY) $(STAGING)/$(PACKAGE)-$(VERSION)-pkg.tar.gz $(RELEASEDIR)
releasePA:
$(MAKE) XEMACS=xemacs
'TAR=/usr/local/bin/tar' 'RCOPY = cp -pR' release
man/x-symbol.ps: man/x-symbol.texi
$(MAKE) -C man all
|