# $Id: Makefile,v 1.16 2006-01-16 01:11:40 eugene Exp $

# WARNING : pdflatex does not do .ps
# 
DO_PDFLATEX = 0
DO_BIBTEX = 1

help:
	@echo "USAGE: make (target)"
	@echo "  targets:  all pdf tgz"

all: pdf tgz 
pdf: systematics.pdf
tgz: systematics.tgz

# if you have PDF pics, they may need to be converted to EPS
PDFPICS = 
# pics/peaks.pdf \
# pics/FWHM.smooth.trend.ps1.pdf \
# pics/moment.class.pdf \
# pics/radial.profiles.pdf 

FILES = \
../inputs/astro.sty \
../inputs/code.sty \
../inputs/apj.bst \
../inputs/lib.bib \
systematics.tex

pics/%.pdf : pics/%.ps
	echo $^
	echo $<
	echo $@
	echo $*
	ps2pdf -dEPSCrop $< $@

pdfpics: $(PDFPICS)
systematics.pdf: $(FILES)
systematics.tgz: $(FILES)

include ../Makefile.Common
