/
makeitfile
55 lines (43 loc) · 952 Bytes
/
makeitfile
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
CONST=lib/Image/PNG/Const.pm
TOUT= \
Libpng.xs \
Makefile.PL \
lib/Image/PNG/Libpng.pm \
lib/Image/PNG/Libpng.pod \
perl-libpng.c \
t/PLTE.t \
typemap \
TIN= \
build/LibpngInfo.pm \
build/make-files.pl \
build/supports.txt \
build/unsupported-table.txt \
tmpl/Const.t.tmpl \
tmpl/Libpng.pm.tmpl \
tmpl/Libpng.pod.tmpl \
tmpl/Libpng.t.tmpl \
tmpl/Libpng.xs.tmpl \
tmpl/Makefile.PL.tmpl \
tmpl/PLTE.t.tmpl \
tmpl/config \
tmpl/other_modules \
tmpl/perl-libpng.c.tmpl \
tmpl/typemap.tmpl \
all: $(TOUT) $(CONST) README ex
ex:
cd examples;make
README: lib/Image/PNG/Libpng.pod MYMETA.json
makereadme > $@
MYMETA.json: Makefile.PL
perl Makefile.PL
$(CONST): build/strip-constants.pl tmpl/Const.pm.tmpl
build/strip-constants.pl
$(TOUT): $(TIN)
build/make-files.pl --lines
clean:
rm -rf $(TOUT) $(CONST)
rm -rf Image-PNG-Libpng-0.*/ Image-PNG-Libpng-0.*.tar.gz
rm -f README
# Local Variables:
# mode: makefile
# End: