1
2#######################################################################
3# --original SOURCE list
4# SOURCE = prog.tex            disclaimer.tex         cvsintro.tex \
5#          codingsty.tex       makefile_libs.tex      newmodules.tex \
6#          common_errors.tex   rtdb.tex               ga.tex \
7#          ffinp.tex           print_control.tex      geom.tex \
8#          basis.tex           symmetry.tex           context.tex \
9#          util.tex            util_ga.tex            integral_api.tex \
10#          pstat.tex           integral_io.tex        int_api_spec.tex
11# -- my SOURCE list (JMC -- 8/14/98)
12 SOURCE = prog.tex            about.tex              generic.tex  \
13          basis.tex           codingsty.tex          cvsintro.tex \
14          design.tex          disclaimer.tex         ffinp.tex    \
15          ga.tex              geom.tex               glossary.tex \
16          instaport.tex       int_api_spec.tex       la.tex       \
17          ma.tex              makefile_libs.tex      messages.tex \
18          modules.tex         newdoc.tex             newmodules.tex \
19          nwarch.tex          print_control.tex      prog_man_intro.tex \
20          pstat.tex           rtdb.tex               utilities.tex \
21          symmetry.tex        testing.tex            util.tex     \
22          ChemIO.tex          ecce.tex
23
24 SOURCE_NOT_USED = prog.old.tex
25
26 TARG = prog
27
28all postscript $(TARG).ps:	$(SOURCE)
29	latex $(TARG).tex
30	latex $(TARG).tex
31	latex $(TARG).tex
32	dvips -D300 -N0 -i -S200 -o $(TARG).ps $(TARG).dvi
33	./progpsfix
34odd:	$(SOURCE)
35	latex $(TARG).tex
36	latex $(TARG).tex
37	latex $(TARG).tex
38	dvips -D300 -N0 -i -S200 -A -o $(TARG).odd.ps $(TARG).dvi
39	dvips -D300 -N0 -i -S200 -B -o $(TARG).even.ps $(TARG).dvi
40
41quick:		$(SOURCE)
42	latex $(TARG).tex
43	dvips -D300 -N0 -i -S200 -o $(TARG).ps $(TARG).dvi
44
45html:
46	@../htmlize prog
47	@../update_www prog
48
49view:	$(TARG).ps
50	ghostview -bg white -fg black -bd black $(TARG).ps
51
52pdf:    $(SOURCE) .IGNORE
53	pdflatex -interaction=nonstopmode progpdf
54	pdflatex -interaction=nonstopmode progpdf
55	pdflatex -interaction=nonstopmode progpdf
56
57.IGNORE:
58
59clean:
60	/bin/rm -f *.dvi *.ps *.toc *.aux *.log *~
61	/bin/rm -rf prog
62realclean:
63	$(MAKE) clean
64	rm -f progpdf.pdf progpdf.out
65