head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2002.04.30.02.41.04;	author james;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Makefile for reference cards.
@
text
@# -*- Mode: Makefile; coding: iso-8859-1 -*-
#
# Makefile for TeX reference cards.
#
# These are *NOT* LaTeX documents!

SRCS = macroinsn-fmt-refcard macroinsn-refcard

RM = /bin/rm -f
TEX = /usr/bin/tex
PDFTEX = /usr/bin/pdftex
DVIPS = /usr/bin/dvips

.PRECIOUS : %.dvi %.ps %.pdf %.eps

%.tex : 

%.dvi : %.tex
	$(TEX) $*

# Printing with 'cmz' option to dvips depends on TeX installation.  It attempts
# to print using Bluesky's compressed ('z') Type 1 CM fonts.
%.ps : %.dvi
	$(DVIPS) -Pcmz -o $@@ $<

%.pdf : %.tex
	$(PDFTEX) $*
	$(PDFTEX) $*

all : $(SRCS:=.tex) $(SRCS:=.dvi) $(SRCS:=.ps)

texclean :
	$(RM) *.log

docclean :
	$(RM) *.dvi *.ps *.pdf

clean : texclean docclean

distclean : clean
	$(RM) *~

cycle : clean all
@
