summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/epsf/Makefile
blob: 16b4c3f58ba76942174b626995ef90bb363f52ec (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
72
73
74
75
76
77
78
79
80
81
82
83
### ====================================================================
### [30-Jul-2005]
### ====================================================================

prefix		= /usr/local

CP		= /bin/cp -p

INSTDIRS	= $(prefix)/share/lib/tex/inputs \
		  $(prefix)/share/lib/tex/latex \
		  $(prefix)/share/lib/tex/latex2e/unpacked

LATEX		= latex
LATEX		= latex2e

LN		= /bin/ln -f

LS		= ls

RM		= /bin/rm -f

SHELL		= /bin/sh

TEX		= tex

### ====================================================================

LTXFILES	= tepsf2.ltx

TEXFILES	= tepsf1.tex  tepsf3.tex

### ====================================================================

all:
	@echo There is nothing to build in this directory.

check:	check-latex check-tex

check-latex:
	for f in $(LTXFILES) ; \
	do \
		$(LATEX) $$f ; \
		$(LS) -l `basename $$f .ltx`.* ; \
	done

check-tex:
	for f in $(TEXFILES) ; \
	do \
		$(TEX) $$f ; \
		$(LS) -l `basename $$f .tex`.* ; \
	done

clean:
	-$(RM) *.aux
	-$(RM) *.dvi
	-$(RM) *.log
	-$(RM) *~
	-$(RM) \#*
	-$(RM) a.out
	-$(RM) core core.*

clobber:	distclean

distclean:	mostlyclean

maintainer-clean:	distclean
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

mostlyclean: clean

install:	uninstall
	for d in $(INSTDIRS) ; \
	do \
		$(CP) epsf.tex $$d/epsf.tex ; \
		$(LN) $$d/epsf.tex $$d/epsf.sty ; \
	done

uninstall:
	for d in $(INSTDIRS) ; \
	do \
		$(RM) $$d/epsf.tex $$d/epsf.sty ; \
	done