summaryrefslogtreecommitdiff
path: root/support/l2a/Makefile
blob: 9aa6e3d1137db33549655b730eefe6372ea9a330 (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
# Makefile for l2a  27 dec. 1988 [gh]
#-----------------------------------------------------------------------------
# Abstract:
#    Filter to detexify texts (handles both tex and latex).
#
# Compilation:
#    Tested using a Sun 3/50 and SunOS 3.5.  Believed to be portable.
#-----------------------------------------------------------------------------

OBJ	= l2a.o
SHR	= l2a.tex Makefile l2a.l l2a.1
BINDIR	= /local/bin
MANDIR	= /local/man

l2a:		$(OBJ)
	cc  -o l2a $(OBJ) -ll

$(OBJ):	l2a.l

install:
	cp l2a $(BINDIR)/l2a
	cp l2a.1 $(MANDIR)/man1/l2a.1

clean:
	\rm -f l2a.txt l2a.c lex.yy.c l2a l2a.aux l2a.log $(OBJ) *~

test:
	\rm -f l2a.txt
	l2a < l2a.tex > l2a.txt

dvi:
	latex l2a.tex

shar:
	shar -a $(SHR) > l2a.shar

# EOF