#=============================================================================== # Make dependency file for LaTeX/BibTeX documents. # Original borrowed (gratefully) from Jason McPhate. # Numerous modifications and updates by Brian Wolven. #=============================================================================== # To customize this makefile for use with another document, you will # need to edit the following variables (macros in make-speak): # The ???Dir variables are provided for convenience - full file names can be # used in the ???Files variable lists. # # Target : is your primary document name. # SecDir : points to location of included TeX files. # FigDir : points to location of your figures (ps or eps files) # BibDir : points to location of your .bib files (BibTeX bibliography entries) # BstDir : points to location of your .bst files (bibliography style) # SecFiles : lists actual names of files referenced in your primary document, # e.g. with LaTeX's \include command. # FigFiles : lists actual names of figure files - other paths can be used # besides FigDir, as needed. # BibFiles : lists actual names of .bib files referenced in your # document with LaTeX's \bibliography command. # BstFiles : lists actual name of .bst file referenced in your # document with LaTeX's \bibliographystyle command. # # Macros which exceed one line in length are joined with a backslash (\) # at the end of the line. Macros with more than one value, e.g. multiple # file names, must be surrounded by parentheses, either () or {}. # Comment out the ???Files line for a given variable assignment if there are # no file dependencies of that type. #=============================================================================== Target = example SecDir = ./ FigDir = ./ StyDir = ./ BibDir = ./ BstDir = ./ SecFiles = (example_table.tex) # comment line out if no other .tex files FigFiles = (${FigDir}/example_fig1.ps \ ${FigDir}/example_fig2.ps \ ${FigDir}/example_fig3.ps ) StyFiles = (${StyDir}/hor_maxi.sty \ ${StyDir}/hor_maxi_view.sty\ ${StyDir}/hor_mini.sty \ ${StyDir}/hor_3.sty \ ${StyDir}/hor_4.sty \ ${StyDir}/hor_5.sty \ ${StyDir}/ver_maxi.sty \ ${StyDir}/ver_mini.sty \ ${StyDir}/ver_3.sty \ ${StyDir}/ver_4.sty \ ${StyDir}/poster.sty \ ${StyDir}/aastexposter.cls ) BibFiles = (${BibDir}/example.bib) BstFiles = (${BstDir}/poster.bst) #=============================================================================== # LaTeX and BibTeX options # On-screen viewing options (mini and maxi format) # Either viewing option can be used for either format - but : # make view - will specify convenient options for mini format # make maxiview - will specify convenient options for maxi format #=============================================================================== LaTeX = pslatex # or regular latex, if you prefer BibTeX = bibtex DVItoPS = dvips -l 1 # "-l 1" option for poster production only Paper = gv -bg white -magstep 0 # For normal papers Viewer = gv -swap -bg white -magstep 1 # For mini format - scale 1.414 MaxiViewer = gv -bg white -magstep -5 # For maxi format - scale 0.100 #=============================================================================== # Everthing below here should probably be left alone, unless you know what # you're doing and have a valid reason for changing them. #=============================================================================== # Targets, options, and dependencies #=============================================================================== ${Target}.ps: ${Target}.dvi ${DVItoPS} ${Target}.dvi ${Target}.dvi: ${Target}.bbl ${LaTeX} ${Target} ${LaTeX} ${Target} ${Target}.bbl: ${BibFiles} ${SecFiles} ${FigFiles} ${StyFiles} ${Target}.tex ${LaTeX} ${Target} ${BibTeX} ${Target} clean: -rm *.aux *.bbl *.blg *.dvi *.log cleanps: -rm ${Target}.ps force: make clean ${LaTeX} ${Target} ${BibTeX} ${Target} ${LaTeX} ${Target} ${LaTeX} ${Target} ${DVItoPS} ${Target}.dvi #=============================================================================== # Viewing options #=============================================================================== show: -${Paper} ${Target}.ps & view: -${Viewer} ${Target}.ps & viewmaxi: -${MaxiViewer} ${Target}.ps & #=============================================================================== # Archive file options #=============================================================================== archive: # Create tar archive with all files in current directory. make make clean -tar -cvf ${Target}.tar . list: # List files in tar archive. tar -tvf ${Target}.tar #=============================================================================== # This command too dangerous for casual use!!! #=============================================================================== #extract: # Extract files from tar archive - overwrites current files! # tar -xvf ${Target}.tar