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 169 170
|
#
# Makefile for compiling and installing EDIFF
#
# -------- USER MAY NEED TO CHANGE THESE ---------------------
# To compile under XEmacs, uncomment XEmacs-specific versions of the
# variables VERSION, EMACS, DATADIR and comment out the Emacs-specific
# versions.
VERSION = 20.0
EMACS = emacs-$(VERSION)
#VERSION = 20.3
#EMACS = xemacs-$(VERSION)
PREFIX = /usr/local
DATADIR = $(PREFIX)/share
#DATADIR = $(PREFIX)/lib
LISPDIR = $(DATADIR)/emacs/site-lisp
INFODIR = $(PREFIX)/info
ETCDIR = $(DATADIR)/emacs/$(VERSION)/etc
COMPDIR =
# --------- YOU PROBABLY DON'T WANT TO CHANGE THESE ----------------
TeX = tex
TEXINDEX = texindex
MAKEINFO = makeinfo
INSTALL = install
# --------- ONLY AUTHORIZED PERSONNEL BEYOND THIS POINT!!! ------------
EDIFF = ediff-init.el ediff-help.el ediff-diff.el ediff-merg.el \
ediff-wind.el ediff-util.el ediff-mult.el ediff-vers.el \
ediff-ptch.el ediff.el ediff-hook.el ediff-tbar.el
EDIFFelc = $(COMPDIR)ediff-init.elc \
$(COMPDIR)ediff-help.elc \
$(COMPDIR)ediff-diff.elc \
$(COMPDIR)ediff-merg.elc \
$(COMPDIR)ediff-wind.elc \
$(COMPDIR)ediff-util.elc \
$(COMPDIR)ediff-mult.elc \
$(COMPDIR)ediff-vers.elc \
$(COMPDIR)ediff-ptch.elc \
$(COMPDIR)ediff.elc \
$(COMPDIR)ediff-hook.elc \
$(COMPDIR)ediff-tbar.elc
COMPILE_ARGS = -batch -f batch-byte-compile
all: hello elc goodbye dvi info
elc: $(EDIFFelc)
goodbye:
@echo ""
@echo ""
@echo ""
@echo " The above compiler warnings were normal -- don't panic!"
@echo ""
@echo " Please report bugs via M-x ediff-submit-report"
@echo ""
@echo ""
@echo ""
hello:
@echo ""
@echo ""
@echo "Byte compiling using Emacs"
@echo "Use make EMACS=xemacs to compile under XEmacs"
@echo ""
@echo ""
@echo " The following compiler warnings are normal -- don't panic!"
@echo ""
@echo ""
@echo ""
$(COMPDIR)ediff-init.elc: ediff-init.el
@echo ""
$(EMACS) $(COMPILE_ARGS) ediff-init.el
$(COMPDIR)ediff-help.elc: ediff-help.el
@echo ""
$(EMACS) $(COMPILE_ARGS) ediff-help.el
$(COMPDIR)ediff-hook.elc: ediff-hook.el
@echo ""
$(EMACS) $(COMPILE_ARGS) ediff-hook.el
$(COMPDIR)ediff-tbar.elc: ediff-tbar.el
@echo ""
$(EMACS) $(COMPILE_ARGS) ediff-tbar.el
$(COMPDIR)ediff-diff.elc: ediff-init.el ediff-diff.el
@echo ""
$(EMACS) $(COMPILE_ARGS) ediff-diff.el
$(COMPDIR)ediff-merg.elc: ediff-init.el ediff-merg.el
@echo ""
$(EMACS) $(COMPILE_ARGS) ediff-merg.el
$(COMPDIR)ediff-mult.elc: ediff-init.el ediff-mult.el
@echo ""
$(EMACS) $(COMPILE_ARGS) ediff-mult.el
$(COMPDIR)ediff-vers.elc: ediff-init.el ediff-vers.el
@echo ""
$(EMACS) $(COMPILE_ARGS) ediff-vers.el
$(COMPDIR)ediff-ptch.elc: ediff-init.el ediff-ptch.el
@echo ""
$(EMACS) $(COMPILE_ARGS) ediff-ptch.el
$(COMPDIR)ediff.elc: ediff-init.el ediff.el
@echo ""
$(EMACS) $(COMPILE_ARGS) ediff.el
$(COMPDIR)ediff-util.elc: ediff-init.el ediff-util.el
@echo ""
$(EMACS) $(COMPILE_ARGS) ediff-util.el
$(COMPDIR)ediff-wind.elc: ediff-init.el ediff-wind.el
@echo ""
$(EMACS) $(COMPILE_ARGS) ediff-wind.el
ediff.dvi: ediff.texi
@echo ""
@echo ""
@echo "Making ediff.dvi --- a Printable Version of the Ediff Manual";
@echo ""
$(TeX) ediff.texi
@echo ""
@echo "Indexing "
$(TEXINDEX) ediff.cp
$(TEXINDEX) ediff.fn
$(TEXINDEX) ediff.pg
$(TEXINDEX) ediff.vr
@echo ""
@echo "Texing Again";
$(TeX) ediff.texi
@echo ""
ediff: ediff.texi
@echo ""
@echo ""
@echo "Making Info Files for the Ediff Manual"
@echo ""
$(MAKEINFO) ediff.texi
@echo "Info done"
dvi: ediff.dvi
info: ediff
install: all
$(INSTALL) -m444 $(EDIFF) $(LISPDIR)
$(INSTALL) -m644 ediff*.elc $(LISPDIR)
$(INSTALL) -m644 ediff.dvi $(ETCDIR)
$(INSTALL) -m444 ediff ediff-? $(INFODIR)
@echo ""
@echo "Please move ediff.texi to emacs-distribution-directory/man/"
@echo ""
clean:
rm -f ediff*.elc *~ core
distclean: clean
realclean: clean
rm -f *.dvi ../info/ediff ../info/ediff-?
rm -f ediff.aux ediff.cp ediff.cps ediff.fn ediff.fns ediff.ky \
ediff.kys ediff.log ediff.pg ediff.pgs ediff.toc ediff.tp \
ediff.tps ediff.vr ediff.vrs
|