summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fancynum/Makefile
blob: 05e48547acdbbca2772e11300e4e1f63be7c0a9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Makefile for fancynum
# This is mainly for development purposes
# 
# Copyright (c) J.J.Green 1999
# $Id: Makefile,v 1.16 2000/08/08 22:40:17 jjg Exp $

VERSION  = 0.9.2
RUBBISH  = *~ *.dvi *.log *.aux tables tables.o  \
           fancynum.ps examples.ps
DISTNAME = fancynum-$(VERSION)

CC    = gcc
LATEX = latex
XDVI  = xdvi
DVIPS = dvips -Pcmz

# phoney targets

.PHONEY : clean dist docs test check show

install: fancynum.sty
	 # fancynum.sty is up to date. Now move it to where
	 # TeX can find it. Try "make docs" for documentation

clean:	
	$(RM) $(RUBBISH)

dist:
	cd .. ; \
	tar -cvf $(DISTNAME).tar --exclude=fancynum/RCS fancynum ; \
	gzip $(DISTNAME).tar 

docs: examples.ps fancynum.ps

test: show

check: show

show: examples.dvi
	$(XDVI) examples

# real targets

tables : tables.o

dbltable.tex : tables
	./tables

examples.dvi : examples.tex dbltable.tex fancynum.sty
	$(LATEX) examples
	$(LATEX) examples

fancynum.sty : fancynum.dtx fancynum.ins
	$(LATEX) fancynum.ins

fancynum.dvi : fancynum.dtx
	$(LATEX) fancynum.dtx
	$(LATEX) fancynum.dtx

# suffix rules

.SUFFIXES: .dvi .ps 

.dvi.ps:
	$(DVIPS) $* -o