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

DO_PDFLATEX = 1
# remember to set \pdfoutput at the top

DO_BIBTEX = 1
# remember to change from \bibliography to \input{.bbl} at the bottom

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

all: pdf tgz 
pdf: calibration.pdf
tgz: calibration.tgz

quick: calibration.quick.pdf

PDFPICS = \
pics/A1.pdf \
pics/A3.pdf \
pics/A4.pdf

FILES = \
../inputs/astro.sty \
../inputs/code.sty \
../inputs/apj.bst \
pics/rings.v3.example.png \
pics/KHexample.png \
pics/KHmap.png \
pics/dcr.r2.g.png \
pics/allsky.astrom.sigma.png \
pics/gaia.photom.png \
pics/gaia.astrom.png \
$(PDFPICS) \
calibration.tex

# pics/photflat.example.sm.png \
# pics/allsky.photom.sigma.sm.png \
# pics/astroflat.gri.sm.png \
# pics/astroflat.zy.sm.png \

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

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

include ../Makefile.Common
