#! gnumake # # Author: Curtis A. Meyer # Creation Date: 23 May, 2004 # # Template Makefile for building GlueX notes: # HEAD = glueball08 # # Place all linked PDF files in a subdirectory named figures. # PDF = figures/* # # All tex files in the main directory will become part of the # archive. # DOC = *.tex # # List all other content files beyond $(TEX) and $(PDF) that # need to be packed into the tarball for release. # CNT = Makefile *.bib *.bbl *.bst all: pdf pdf: pdflatex $(HEAD).tex pdflatex $(HEAD).tex bibliography: latex $(HEAD) bibtex $(HEAD) html: pdflatex $(HEAD).tex latex2html -no_navigation -split 0 -no_info $(HEAD).tex tarball: rm -f $(HEAD).tar.gz tar cfz $(HEAD).tar.gz $(DOC) $(CNT) $(PDF) clean: @rm -f *.dvi *.ps *~ *.aux *.log *.lot *.lof *.toc distclean: @rm -f *.dvi *.ps *~ *.aux *.log *.lot *.lof *.toc @rm -f *.nav *.out *.snm *.vrb @rm -f $(HEAD).tar.gz @rm -f $(HEAD).pdf @rm -rf $(HEAD)