aboutsummaryrefslogtreecommitdiff
path: root/unix/mkfile.fmt
blob: 13e97d68cd5425b6b3ea4cabab46d58fac6961ea (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
MAKEALL=`{cd ../make; ls Make.*}
TARG=\
	$MAKEALL\
	NOTICE\
	README\
	Makefile\
	`{ls -p $PLAN9/src/lib9/fmt/*.c}\
	fmt.h\
	fmtdef.h\
	nan.h\

all:V: $TARG

%: $PLAN9/include/%
	cp $prereq $target

%: $PLAN9/src/lib9/fmt/%
	cp $prereq $target

%: $PLAN9/man/man1/%
	cp $prereq $target

%: $PLAN9/man/man3/%
	cp $prereq $target

%: $PLAN9/man/man7/%
	cp $prereq $target

%: ../make/%
	cp $prereq $target

Makefile:D: ../make/Makefile.TOP ../make/Makefile.fmt ../make/Makefile.LIB ../make/Makefile.BOT
	cat $prereq >$target

README: ../README
	cp $prereq $target

NOTICE: ../NOTICE.fmt
	cp $prereq $target

fmt.h: ../fmt.h
	cp $prereq $target

fmt.c: $PLAN9/src/lib9/fmt/fmt.c
	cat $prereq | sed "/'u',.*__flagfmt/ s/__flagfmt/__ifmt/" >$target