-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
38 lines (32 loc) · 862 Bytes
/
Makefile
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
AWFLIB = /usr/lib/awf # beware, awf itself knows this
BIN = /usr/bin
MAN = /usr/man/man1
CP = common dev.dumb mac.man mac.ms pass1 pass2.base pass2.man pass2.ms pass3
DTR = README COPYRIGHT Makefile awf awf.1 awf.1.out common dev.dumb mac.man \
mac.ms pass1 pass2.base pass2.man pass2.ms pass3
# System V brain damage
SHELL = /bin/sh
r: awf.1
chmod +x awf
AWFLIB=. awf -man awf.1 >tmp
cmp tmp awf.1.out
rm tmp
install:
-if test ! -d $(AWFLIB) ; then mkdir $(AWFLIB) ; fi
cp $(CP) $(AWFLIB)
cp awf $(BIN)
cp awf.1 $(MAN)
rr: r testm tests.Z tests.out.Z
AWFLIB=. awf -man testm >tmp
cmp tmp testm.out
rm tmp
uncompress <tests.Z | AWFLIB=. awf -ms >tmp
uncompress <tests.out.Z | cmp - tmp
rm tmp
dtr: $(DTR)
makedtr $(DTR) >$@
tar: $(DTR)
tar cvf awf.tar $(DTR)
compress -v awf.tar
clean:
rm -f tmp tests tests.out dtr awf.tar awf.tar.Z j*