22 |
preview-readme.texi preview-todo.texi |
preview-readme.texi preview-todo.texi |
23 |
DISTTEXTS = ../README ../INSTALL ../TODO ../INSTALL.windows ../FAQ ../CHANGES |
DISTTEXTS = ../README ../INSTALL ../TODO ../INSTALL.windows ../FAQ ../CHANGES |
24 |
|
|
25 |
all: auctex preview |
all: dist |
26 |
|
|
27 |
install: install-auctex install-preview |
install: install-auctex install-preview |
28 |
|
|
29 |
dist: auctex.info $(DISTTEXTS) \ |
dist: $(DISTTEXTS) preview.info auctex.info |
30 |
html/auctex_toc.html auctex.ps auctex.pdf tex-ref.ps tex-ref.pdf |
|
31 |
|
extradist: html/auctex_toc.html auctex.ps auctex.pdf tex-ref.ps tex-ref.pdf |
32 |
|
|
33 |
.PHONY: all auctex preview dist install-auctex disttexts clean distclean \ |
.PHONY: all auctex preview dist install-auctex disttexts clean distclean \ |
34 |
maintainer-clean install-preview html-docs |
maintainer-clean install-preview html-docs extradist |
35 |
|
|
36 |
# AUCTeX |
# AUCTeX |
37 |
|
|
40 |
html/auctex_toc.html: auctex.texi |
html/auctex_toc.html: auctex.texi |
41 |
rm -rf html |
rm -rf html |
42 |
mkdir html |
mkdir html |
43 |
cd html;$(TEXI2HTML) -split_node -I .. ../auctex.texi && \ |
cd html && $(TEXI2HTML) -split_node -I .. ../auctex.texi && \ |
44 |
if [ -d auctex ];then mv auctex/* .; rm -rf auctex; fi |
test ! -d auctex || { mv auctex/* . && rm -rf auctex ; } |
45 |
|
|
46 |
tex-ref.dvi: tex-ref.tex |
tex-ref.dvi: tex-ref.tex |
47 |
$(TEX) tex-ref |
$(TEX) tex-ref |
144 |
$(MAKEINFO) -D rawfile --no-headers \ |
$(MAKEINFO) -D rawfile --no-headers \ |
145 |
--number-sections preview-problems.texi --output $@ |
--number-sections preview-problems.texi --output $@ |
146 |
|
|
|
disttexts: $(DISTTEXTS) |
|
|
|
|
147 |
# clean |
# clean |
148 |
|
|
149 |
clean: |
clean: |
150 |
rm -f *.dvi *.ps *.pdf *.aux *.cp *.fn *.ky *.log *~ \#*\# \ |
rm -f *.dvi *.ps *.pdf *.aux *.cp *.fn *.ky *.log *~ \#*\# \ |
151 |
*.tp *.vr *.pg *.toc *.tp *.bak *.cps *.kys *.tps \ |
*.tp *.vr *.pg *.toc *.tp *.bak *.cps *.kys *.tps \ |
152 |
*.fns *.vrs *.pgs *.tmp *.info *.info-* *.html \ |
*.fns *.vrs *.pgs *.tmp *.html |
153 |
preview-latex/* |
rm -rf html preview-latex |
|
rm -rf html |
|
154 |
|
|
155 |
distclean: clean |
distclean: clean |
156 |
rm -f Makefile |
rm -f Makefile |
157 |
|
|
158 |
maintainer-clean: distclean |
maintainer-clean: distclean |
159 |
rm -f INSTALL.windows README CHANGES HISTORY TODO FAQ \ |
rm -f INSTALL.windows README CHANGES HISTORY TODO FAQ \ |
160 |
preview-dtxdoc.texi auto.texi $(DISTTEXTS) |
preview-dtxdoc.texi auto.texi $(DISTTEXTS) *.info *.info-* |