"Fossies" - the Fresh Open Source Software Archive

Member "auctex-12.3/doc/Makefile.in" (18 Oct 2020, 6295 Bytes) of package /linux/misc/auctex-12.3.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.in": 12.2_vs_12.3.

    1 # Makefile for AUCTeX
    2 
    3 # Maintainer: auctex-devel@gnu.org
    4 
    5 # Copyright (C) 2003-2008, 2013-2015, 2018-2019 Free Software Foundation, Inc.
    6 
    7 # This file is part of AUCTeX.
    8 
    9 # AUCTeX is free software; you can redistribute it and/or modify it
   10 # under the terms of the GNU General Public License as published by
   11 # the Free Software Foundation; either version 3, or (at your option)
   12 # any later version.
   13 
   14 # AUCTeX is distributed in the hope that it will be useful, but
   15 # WITHOUT ANY WARRANTY; without even the implied warranty of
   16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   17 # General Public License for more details.
   18 
   19 # You should have received a copy of the GNU General Public License
   20 # along with AUCTeX; see the file COPYING.  If not, write to the Free
   21 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
   22 # MA 02110-1301, USA.
   23 
   24 prefix=@prefix@$(null)
   25 datarootdir=@datarootdir@$(null)
   26 datadir=@datadir@$(null)
   27 infodir=@infodir@$(null)
   28 docdir=@docdir@$(null)
   29 TEX=@TEX@
   30 PDFTEX=@PDFTEX@
   31 MAKEINFO=@MAKEINFO@
   32 MAKEINFO_PLAIN=-D rawfile --no-headers
   33 INSTALL_INFO=@INSTALL_INFO@
   34 INSTALL=@INSTALL@
   35 INSTALL_DATA=@INSTALL_DATA@
   36 DESTDIR=
   37 # If `texi2html' is not available, use `makeinfo' when possible.  Set the ToC
   38 # file accordingly.  Actually, makeinfo >= 5 is needed, but we don't check the
   39 # version.
   40 ifneq (@TEXI2HTML@,:)
   41 	TEXI2HTML=@TEXI2HTML@
   42 	TEXI2HTML_TOC=auctex_toc.html
   43 else
   44 	ifneq (@MAKEINFO@,:)
   45 		TEXI2HTML=@MAKEINFO@ --html
   46 		TEXI2HTML_TOC=index.html
   47 	else
   48 		TEXI2HTML=@TEXI2HTML@
   49 		TEXI2HTML_TOC=auctex_toc.html
   50 	endif
   51 endif
   52 TEXI2DVI=@TEXI2DVI@
   53 TEXI2PDF=@TEXI2PDF@
   54 MKINSTALLDIRS = ../mkinstalldirs
   55 DVIPS=@DVIPS@
   56 PERL=@PERL@
   57 AUCTEXDATE=@AUCTEXDATE@
   58 AUCTEXVERSION=@AUCTEXVERSION@
   59 PACKAGE_TARNAME=@PACKAGE_TARNAME@
   60 
   61 AUCTEXTEXIFILES = auctex.texi install.texi wininstall.texi intro.texi \
   62 	changes.texi todo.texi faq.texi macros.texi quickstart.texi \
   63 	fdl.texi version.texi
   64 PREVIEWTEXIFILES = copying.texi preview-faq.texi macros.texi \
   65 	preview-dtxdoc.texi preview-latex.texi preview-problems.texi \
   66 	preview-readme.texi preview-todo.texi version.texi
   67 DISTTEXTS = ../README ../INSTALL ../TODO ../INSTALL.windows ../FAQ ../CHANGES	\
   68 	../PROBLEMS.preview
   69 
   70 all: dist
   71 
   72 info: auctex.info preview-latex.info
   73 
   74 dvi: auctex.dvi tex-ref.dvi preview-latex.dvi
   75 
   76 install: install-auctex install-preview
   77 
   78 dist: $(DISTTEXTS) preview-latex.info auctex.info tex-ref.pdf
   79 
   80 extradist: html/$(TEXI2HTML_TOC) auctex.ps auctex.pdf tex-ref.ps tex-ref.pdf
   81 
   82 .PHONY: all info dvi dist install-auctex disttexts clean distclean \
   83 	maintainer-clean install-preview uninstall html-docs \
   84 	extradist
   85 
   86 # AUCTeX
   87 
   88 html/$(TEXI2HTML_TOC): auctex.texi
   89 	rm -rf html
   90 	mkdir html
   91 	cd html && $(TEXI2HTML) --split=node -I .. ../auctex.texi && \
   92 	test ! -d auctex || { mv auctex/* . && rm -rf auctex ; }
   93 
   94 tex-ref.dvi: tex-ref.tex
   95 	$(TEX) tex-ref
   96 
   97 tex-ref.ps: tex-ref.dvi
   98 	$(DVIPS) tex-ref.dvi -Ppdf -o tex-ref.ps
   99 
  100 tex-ref.pdf: tex-ref.tex
  101 	$(PDFTEX) tex-ref.tex
  102 
  103 version.texi: ../ChangeLog.1
  104 	echo @set VERSION $(AUCTEXVERSION) >version.texi
  105 	echo @set UPDATED $(AUCTEXDATE) >>version.texi
  106 
  107 auctex.dvi: $(AUCTEXTEXIFILES)
  108 	$(TEXI2DVI) auctex.texi
  109 
  110 auctex.pdf: $(AUCTEXTEXIFILES)
  111 	$(TEXI2PDF) auctex.texi
  112 
  113 auctex.ps: auctex.dvi
  114 	$(DVIPS) auctex.dvi -Ppdf -o auctex.ps
  115 
  116 auctex.info: $(AUCTEXTEXIFILES)
  117 	$(MAKEINFO) auctex.texi
  118 
  119 install-auctex: auctex.info tex-ref.pdf
  120 	-$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
  121 	rm -f $(DESTDIR)$(infodir)/auctex $(DESTDIR)$(infodir)/auctex-*
  122 	$(INSTALL_DATA) auctex.info $(DESTDIR)$(infodir)
  123 	for x in auctex.info-*; do \
  124 	  if [ -r $$x ]; then \
  125 	    $(INSTALL_DATA) $$x $(DESTDIR)$(infodir) ; \
  126 	  fi; \
  127 	done
  128 	-$(INSTALL_INFO)  --info-dir=$(DESTDIR)$(infodir) auctex.info
  129 	$(MKINSTALLDIRS) $(DESTDIR)$(docdir)
  130 	rm -f $(DESTDIR)$(docdir)/tex-ref.pdf
  131 	$(INSTALL_DATA) tex-ref.pdf $(DESTDIR)$(docdir)
  132 
  133 # preview
  134 
  135 preview-latex/index.html: $(PREVIEWTEXIFILES)
  136 	rm -f preview-latex/*
  137 	$(TEXI2HTML) preview-latex.texi
  138 
  139 html-docs: preview-latex/index.html
  140 
  141 preview-dtxdoc.texi: ../latex/preview.dtx preview-dtxdoc.pl
  142 	-$(PERL) preview-dtxdoc.pl ../latex/preview.dtx \
  143 		preview-dtxdoc.texi
  144 
  145 preview-latex.dvi: $(PREVIEWTEXIFILES)
  146 	$(TEXI2DVI) preview-latex.texi
  147 
  148 preview-latex.ps: preview-latex.dvi
  149 	$(DVIPS) preview-latex.dvi -Ppdf -o preview-latex.ps
  150 
  151 preview-latex.pdf: $(PREVIEWTEXIFILES)
  152 	$(TEXI2PDF) preview-latex.texi
  153 
  154 preview-latex.info: $(PREVIEWTEXIFILES)
  155 	$(MAKEINFO) preview-latex.texi
  156 
  157 install-preview: preview-latex.info
  158 	-$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
  159 	for x in preview-latex.info* ; do \
  160 		$(INSTALL_DATA) $$x $(DESTDIR)$(infodir) ; \
  161 	done
  162 	-$(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) preview-latex.info
  163 
  164 # disttexts
  165 
  166 ../INSTALL: install.texi macros.texi
  167 	$(MAKEINFO) $(MAKEINFO_PLAIN) install.texi --output $@
  168 
  169 ../INSTALL.windows: wininstall.texi macros.texi
  170 	$(MAKEINFO) $(MAKEINFO_PLAIN) wininstall.texi --output $@
  171 
  172 ../README: intro.texi preview-readme.texi macros.texi
  173 	$(MAKEINFO) $(MAKEINFO_PLAIN) intro.texi --output $@
  174 	$(MAKEINFO) $(MAKEINFO_PLAIN) preview-readme.texi --output - >> $@
  175 
  176 ../CHANGES: changes.texi macros.texi
  177 	$(MAKEINFO) $(MAKEINFO_PLAIN) changes.texi --output $@
  178 
  179 ../TODO: todo.texi preview-todo.texi macros.texi
  180 	$(MAKEINFO) $(MAKEINFO_PLAIN) todo.texi --output $@
  181 	$(MAKEINFO) $(MAKEINFO_PLAIN) preview-todo.texi --output - >> $@
  182 
  183 ../FAQ: faq.texi preview-faq.texi macros.texi
  184 	$(MAKEINFO) $(MAKEINFO_PLAIN) faq.texi --output $@
  185 	$(MAKEINFO) $(MAKEINFO_PLAIN) --number-sections preview-faq.texi --output - >> $@
  186 
  187 ../PROBLEMS.preview: preview-problems.texi macros.texi
  188 	$(MAKEINFO) $(MAKEINFO_PLAIN) --number-sections preview-problems.texi --output $@
  189 
  190 # clean
  191 
  192 uninstall:
  193 	for info in $(DESTDIR)$(infodir)/{auctex.info,preview-latex.info}; do \
  194 		test ! -f $${info} || \
  195 		$(INSTALL_INFO) --delete --info-dir=$(DESTDIR)$(infodir) $${info}; \
  196 	done
  197 	rm -f $(DESTDIR)$(infodir)/auctex.info $(DESTDIR)$(infodir)/auctex.info-* \
  198 	$(DESTDIR)$(infodir)/preview-latex.info*
  199 	rm -rf -f $(DESTDIR)$(docdir)
  200 
  201 clean:
  202 	rm -f *.dvi *.ps *.pdf *.aux *.cp *.fn *.ky *.log *~ \#*\# \
  203 		*.tp *.vr *.pg *.toc *.tp *.bak *.cps *.kys *.tps \
  204 		*.fns *.vrs *.pgs *.tmp *.html
  205 	rm -rf html preview-latex
  206 
  207 distclean: clean
  208 	rm -f Makefile
  209 
  210 maintainer-clean: distclean
  211 	rm -f preview-dtxdoc.texi version.texi $(DISTTEXTS) *.info *.info-*