r1883: *** empty log message ***
[ctsim.git] / doc / Makefile.in
index 3bf10ea35827bfaed08c6f2e1e5eeb213f1d41c3..e1ba6a9bceef25b59e5777a31c39aee6510d3125 100644 (file)
@@ -90,13 +90,13 @@ wxcflags = @wxcflags@
 wxconfig = @wxconfig@
 wxlibs = @wxlibs@
 
-docs = ctsim.tex texhelp.sty psbox.tex logo.eps logo.gif ctsim-sgp.tex ctsim-concepts.tex ctsim-gui.tex ctsim-install.tex ctsim-textui.tex ctsim-web.tex alphacalc.eps alphacalc.gif divergent.eps divergent.gif equiangular.eps equiangular.gif equilinear.eps equilinear.gif scangeometry.eps scangeometry.gif tex2rtf.ini ctsim.hpj bullet.bmp verbatim.sty mytitle.sty makeidx.sty mysober.sty fancyhea.sty ctsim-latex.bib ctsim-tex2rtf.bib
+docs := ctsim.tex texhelp.sty psbox.tex logo.eps logo.gif ctsim-sgp.tex ctsim-concepts.tex ctsim-gui.tex ctsim-install.tex ctsim-textui.tex ctsim-web.tex alphacalc.eps alphacalc.gif divergent.eps divergent.gif equiangular.eps equiangular.gif equilinear.eps equilinear.gif scangeometry.eps scangeometry.gif tex2rtf.ini ctsim.hpj bullet.bmp verbatim.sty mytitle.sty makeidx.sty mysober.sty fancyhea.sty ctsim-latex.bib ctsim-tex2rtf.bib
 
 pkg = ctsim
 
 EXTRA_DIST = $(docs) html
 
-CLEANFILES = $(pkg).ps $(pkg)*.html $(pkg).hhc $(pkg).hhp $(pkg).hhk    $(pkg).bib $(pkg).zip *.aux *.log *~ \#*~ \#*\# \.*~ 
+CLEANFILES = $(pkg).ps $(pkg)*.html $(pkg).hhc $(pkg).hhp $(pkg).hhk   $(pkg).bib $(pkg).zip *.aux *.log *~ \#*~ \#*\# \.*~    $(pkg).ilg $(pkg).ind
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = ../config.h
@@ -205,15 +205,15 @@ distclean-generic clean-generic maintainer-clean-generic clean \
 mostlyclean distclean maintainer-clean
 
 
-all-local: htmlhelp html dvi 
+all-local: htmlhelp html pdf
 
 install-data-hook: $(pkg).htb
-       cp $(pkg).htb $(datadir)
+       install -g root -o root -m 0644 $(pkg).htb $(datadir)
 
-.PHONY: ps
-ps: ctsim.ps
-$(pkg).ps: $(pkg).dvi
-       dvips $(pkg)
+.PHONY: pdf
+pdf: ctsim.pdf
+$(pkg).pdf: $(pkg).dvi
+       dvipdfm $(pkg)
 
 .PHONY: dvi
 dvi: $(pkg).dvi
@@ -239,16 +239,14 @@ htmlhelp: $(docs)
        rm -f $(pkg)*.html $(pkg).hhp $(pkg).hhc $(pkg).hhk $(pkg).zip
        cp $(pkg)-tex2rtf.bib $(pkg).bib
        tex2rtf $(pkg).tex $(pkg).html -html  > /dev/null
-       zip $(pkg).zip *.html *.gif $(pkg).hh[pck]
+       zip -q $(pkg).zip *.html *.gif $(pkg).hh[pck]
        mv $(pkg).zip $(pkg).htb
 
-html: $(docs)
-       rm -f $(pkg)*.html $(pkg).hh[cpk] $(pkg).zip
-       cp $(pkg)-tex2rtf.bib $(pkg).bib
-       tex2rtf $(pkg).tex $(pkg).html -html  > /dev/null
+html: htmlhelp
        rm -rf html
        mkdir html
-       ln -s $(pkg)_contents.html html/index.html
+       cp *.gif html
+       mv *.html html
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.