#------------------------------------------------------------------------------ # Harvard University Atmospheric Chemistry Modeling Group ! #------------------------------------------------------------------------------ #BOP # # !IROUTINE: Makefile_UtilDoc.mk (in doc subdirectory) # # !DESCRIPTION: This Makefile fragment contains commands to build the # documentation for the GEOS-Chem utility modules. It is inlined into # the Makefile (in the doc subdirectory) by an "include" command. #\\ #\\ # !REMARKS: # To build the documentation, call "make" with the following syntax: # # make TARGET [ OPTIONAL-FLAGS ] # # To display a complete list of options, type "make help". # # You must have the LaTeX utilities (latex, dvips, dvipdf) installed # on your system in order to build the documentation. # # !REVISION HISTORY: # 14 Sep 2010 - R. Yantosca - Initial version, split off from Makefile # 16 Dec 2010 - R. Yantosca - Renamed output files to "GC_Ref_Vol_2.*" # 19 Jul 2011 - R. Yantosca - Changed *.f* to *.F* for ESMF compatibility #EOP #------------------------------------------------------------------------------ #BOC # List of source code files SRC3 := ./intro.util $(wildcard $(UTIL)/*.F) # Output file names TEX3 := GC_Ref_Vol_2.tex DVI3 := GC_Ref_Vol_2.dvi PDF3 := GC_Ref_Vol_2.pdf PS3 := GC_Ref_Vol_2.ps # Make commands utildoc: rm -f $(TEX3) protex -sf $(SRC3) > $(TEX3) latex $(TEX3) latex $(TEX3) latex $(TEX3) dvipdf $(DVI3) $(PDF3) dvips $(DVI3) -o $(PS3) rm -f *.aux *.dvi *.log *.toc #EOC