auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] Changes to auctex/doc/Makefile.in


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to auctex/doc/Makefile.in
Date: Wed, 08 Jun 2005 03:49:49 -0400

Index: auctex/doc/Makefile.in
diff -u auctex/doc/Makefile.in:1.30 auctex/doc/Makefile.in:1.31
--- auctex/doc/Makefile.in:1.30 Mon Jun  6 18:19:39 2005
+++ auctex/doc/Makefile.in      Wed Jun  8 07:49:49 2005
@@ -14,16 +14,27 @@
 address@hidden@
 MKINSTALLDIRS = ../mkinstalldirs
 address@hidden@
-TEXIFILES = auctex.texi install.texi wininstall.texi intro.texi \
address@hidden@
+AUCTEXTEXIFILES = auctex.texi install.texi wininstall.texi intro.texi \
        changes.texi todo.texi faq.texi macros.texi quickstart.texi
+PREVIEWTEXIFILES = copying.texi preview-faq.texi macros.texi \
+       preview-dtxdoc.texi preview-latex.texi preview-problems.texi \
+       preview-readme.texi preview-todo.texi
 DISTTEXTS = ../README ../INSTALL ../TODO ../INSTALL.windows ../FAQ ../CHANGES
 
-all: auctex.dvi tex-ref.dvi auctex.info
+all: auctex preview
+
+install: install-auctex install-preview
 
 dist: auctex.info $(DISTTEXTS) \
        html/auctex_toc.html auctex.ps auctex.pdf tex-ref.ps tex-ref.pdf
 
-.PHONY: all dist install disttexts clean distclean maintainer-clean
+.PHONY: all auctex preview dist install-auctex disttexts clean distclean \
+       maintainer-clean install-preview html-docs
+
+# AUCTeX
+
+auctex: auctex.dvi tex-ref.dvi auctex.info
 
 html/auctex_toc.html: auctex.texi
        rm -rf html
@@ -40,18 +51,64 @@
 tex-ref.pdf: tex-ref.tex
        $(PDFTEX) tex-ref.tex
 
-auctex.dvi: $(TEXIFILES)
+auctex.dvi: $(AUCTEXTEXIFILES)
        $(TEXI2DVI) auctex.texi
 
-auctex.pdf: $(TEXIFILES)
+auctex.pdf: $(AUCTEXTEXIFILES)
        $(TEXI2PDF) auctex.texi
 
 auctex.ps: auctex.dvi
        $(DVIPS) auctex.dvi -Ppdf -o auctex.ps
 
-auctex.info: $(TEXIFILES)
+auctex.info: $(AUCTEXTEXIFILES)
        $(MAKEINFO) auctex.texi
 
+install-auctex: auctex.info
+       -$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
+       rm -f $(DESTDIR)$(infodir)/auctex $(DESTDIR)$(infodir)/auctex-*
+       $(INSTALL_DATA) auctex.info $(DESTDIR)$(infodir)
+       for x in auctex.info-*; do \
+         if [ -r $$x ]; then \
+           $(INSTALL_DATA) $$x $(DESTDIR)$(infodir) ; \
+         fi; \
+       done
+       -$(INSTALL_INFO)  --info-dir=$(DESTDIR)$(infodir) auctex.info
+
+# preview
+
+preview: preview-latex.dvi preview-latex.info
+
+preview-latex/index.html: $(PREVIEWTEXIFILES)
+       rm -f preview-latex/*
+       $(TEXI2HTML) preview-latex.texi
+
+html-docs: preview-latex/index.html
+
+preview-dtxdoc.texi: ../preview/latex/preview.dtx preview-dtxdoc.pl
+       -$(PERL) preview-dtxdoc.pl ../preview/latex/preview.dtx \
+               preview-dtxdoc.texi
+
+preview-latex.dvi: $(PREVIEWTEXIFILES)
+       $(TEXI2DVI) preview-latex.texi
+
+preview-latex.ps: preview-latex.dvi
+       $(DVIPS) preview-latex.dvi -Ppdf -o preview-latex.ps
+
+preview-latex.pdf: $(PREVIEWTEXIFILES)
+       $(TEXI2PDF) preview-latex.texi
+
+preview-latex.info: $(PREVIEWTEXIFILES)
+       $(MAKEINFO) preview-latex.texi
+
+install-preview: preview-latex.info
+       -$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
+       for x in preview-latex.info* ; do \
+               $(INSTALL_DATA) $$x $(DESTDIR)$(infodir) ; \
+       done
+       -$(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) preview-latex.info
+
+# disttexts
+
 ../INSTALL: install.texi macros.texi
        $(MAKEINFO) -D rawfile --no-headers  \
                install.texi --output $@
@@ -60,44 +117,46 @@
        $(MAKEINFO) -D rawfile --no-headers  \
                wininstall.texi --output $@
 
-../README: intro.texi macros.texi
+../README: intro.texi preview-readme.texi macros.texi
        $(MAKEINFO) -D rawfile --no-headers  \
                intro.texi --output $@
+       $(MAKEINFO) -D rawfile --no-headers  \
+               preview-readme.texi --output - >> $@
 
 ../CHANGES: changes.texi macros.texi
        $(MAKEINFO) -D rawfile --no-headers  \
                changes.texi --output $@
 
-../TODO: todo.texi macros.texi
+../TODO: todo.texi preview-todo.texi macros.texi
        $(MAKEINFO) -D rawfile --no-headers  \
                todo.texi --output $@
+       $(MAKEINFO) -D rawfile --no-headers  \
+               preview-todo.texi --output - >> $@
 
-../FAQ: faq.texi macros.texi
+../FAQ: faq.texi preview-faq.texi macros.texi
        $(MAKEINFO) -D rawfile --no-headers  \
                faq.texi --output $@
+       $(MAKEINFO) -D rawfile --no-headers  \
+               --number-sections preview-faq.texi --output - >> $@
+
+../PROBLEMS: preview-problems.texi macros.texi
+       $(MAKEINFO) -D rawfile --no-headers  \
+               --number-sections preview-problems.texi --output $@
 
 disttexts: $(DISTTEXTS)
 
-install: auctex.info
-       -$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
-       rm -f $(DESTDIR)$(infodir)/auctex $(DESTDIR)$(infodir)/auctex-*
-       $(INSTALL_DATA) auctex.info $(DESTDIR)$(infodir)
-       for x in auctex.info-*; do \
-         if [ -r $$x ]; then \
-           $(INSTALL_DATA) $$x $(DESTDIR)$(infodir) ; \
-         fi; \
-       done
-       -$(INSTALL_INFO)  --info-dir=$(DESTDIR)$(infodir) auctex.info
+# clean
 
 clean:
-       rm -f *.dvi *.ps *.pdf *.aux *.cp *.fn *.info *.ky *.log *~ \#*\# \
+       rm -f *.dvi *.ps *.pdf *.aux *.cp *.fn *.ky *.log *~ \#*\# \
                *.tp *.vr *.pg *.toc *.tp *.bak *.cps *.kys *.tps \
-               *.fns *.vrs *.pgs *.tmp auctex.info auctex.info-* *.html \
+               *.fns *.vrs *.pgs *.tmp *.info *.info-* *.html \
+               preview-latex/*
        rm -rf html
 
 distclean: clean
        rm -f Makefile
 
 maintainer-clean: distclean
-       rm -rf ../INSTALL INSTALL.windows README CHANGES HISTORY TODO FAQ
-
+       rm -f INSTALL.windows README CHANGES HISTORY TODO FAQ \
+               preview-dtxdoc.texi auto.texi $(DISTTEXTS)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]