39 |
infodir = @infodir@ |
infodir = @infodir@ |
40 |
localinfodir = ../info |
localinfodir = ../info |
41 |
|
|
42 |
|
TEXI_FILES = tramp.texi trampver.texi trampinst.texi |
43 |
CLEAN_FILES = @TRAMP_CLEAN_FILES@ $(localinfodir)/tramp |
CLEAN_FILES = @TRAMP_CLEAN_FILES@ $(localinfodir)/tramp |
44 |
|
|
45 |
# To be used by maintainer only |
# To be used by maintainer only |
58 |
|
|
59 |
tramp: $(localinfodir)/tramp |
tramp: $(localinfodir)/tramp |
60 |
|
|
61 |
$(localinfodir)/tramp: tramp.texi trampver.texi |
$(localinfodir)/tramp: $(TEXI_FILES) |
62 |
$(MAKEINFO) --footnote-style=end -D $(EMACS_INFO) -o $@ $< |
$(MAKEINFO) --footnote-style=end -D $(EMACS_INFO) -o $@ $< |
63 |
|
|
64 |
dvi: tramp.dvi |
dvi: tramp.dvi |
65 |
|
|
66 |
# don't call texi2dvi if it failed in configure |
# don't call texi2dvi if it failed in configure |
67 |
%.dvi: %.texi |
%.dvi: $(TEXI_FILES) |
68 |
$(if $(findstring no,$(TEXI2DVI)),, \ |
$(if $(findstring no,$(TEXI2DVI)),, \ |
69 |
$(TEXI2DVI) -b -c -t "@set $(EMACS_INFO)" $<) |
$(TEXI2DVI) -b -c -t "@set $(EMACS_INFO)" $<) |
70 |
|
|
74 |
$(RM) tramp.html |
$(RM) tramp.html |
75 |
ln -s tramp-emacs.html tramp.html |
ln -s tramp-emacs.html tramp.html |
76 |
|
|
77 |
tramp-%.html: tramp.texi |
tramp-%.html: $(TEXI_FILES) |
78 |
$(MAKEINFO) --html -D $* -o tramp-$*.html $< |
$(MAKEINFO) --html -D $* -o tramp-$*.html $< |
79 |
|
|
80 |
site-info: tramp |
site-info: tramp |