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

DO_PDFLATEX = 1
DO_BIBTEX = 1

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

all: pdf tgz
journal: datasystem.journal.tgz
arxiv: datasystem.arxiv.tgz
pdf: datasystem.pdf

quick: datasystem.quick.pdf

BIBLIB = ../inputs/lib.bib

FILES = \
../inputs/astro.sty \
../inputs/code.sty \
../inputs/apj.bst \
flowchart.v1.pdf \
datasystem.tex

PNGPICS = \
skypartition.png

EPSPICS = \
skypartition.eps

datasystem.pdf: $(FILES) $(BIBLIB) $(PNGPICS)

datasystem.journal.tgz: $(FILES) $(EPSPICS) datasystem.bbl

datasystem.arxiv.tgz: $(FILES) $(PNGPICS)

DIST_TGT = datasystem.pdf datasystem.ps

include ../Makefile.Common
