26 |
# Tell make where to find source files; this is needed for the makefiles. |
# Tell make where to find source files; this is needed for the makefiles. |
27 |
VPATH=@srcdir@ |
VPATH=@srcdir@ |
28 |
|
|
29 |
infodir = ../info |
infodir = $(srcdir)/../info |
30 |
|
|
31 |
# Redefine `TEX' if `tex' does not invoke plain TeX. For example: |
# Redefine `TEX' if `tex' does not invoke plain TeX. For example: |
32 |
# TEX=platex |
# TEX=platex |
111 |
info: $(infodir)/elisp |
info: $(infodir)/elisp |
112 |
|
|
113 |
$(infodir)/elisp: $(srcs) index.texi |
$(infodir)/elisp: $(srcs) index.texi |
114 |
cd $(srcdir); $(MAKEINFO) -I. elisp.texi -o $(infodir)/elisp |
$(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi -o $(infodir)/elisp |
115 |
|
|
116 |
elisp.dvi: $(srcs) index.texi |
elisp.dvi: $(srcs) index.texi |
117 |
# Avoid losing old contents of aux file entirely. |
# Avoid losing old contents of aux file entirely. |
131 |
index.texi: |
index.texi: |
132 |
if [ a${permuted_index} != a ]; \ |
if [ a${permuted_index} != a ]; \ |
133 |
then \ |
then \ |
134 |
ln -s $(srcdir)/index.perm index.texi || ln $(srcdir)/index.perm index.texi; \ |
ln -s $(srcdir)/index.perm index.texi || ln $(srcdir)/index.perm index.texi || cp $(srcdir)/index.perm index.texi; \ |
135 |
else \ |
else \ |
136 |
ln -s $(srcdir)/index.unperm index.texi || ln $(srcdir)/index.unperm index.texi; \ |
ln -s $(srcdir)/index.unperm index.texi || ln $(srcdir)/index.unperm index.texi || cp $(srcdir)/index.unperm index.texi; \ |
137 |
fi |
fi |
138 |
|
|
139 |
install: elisp |
install: elisp |