-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile
103 lines (98 loc) · 2.64 KB
/
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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
include Makefile.options
all: config.h
@echo Making all in lout
@(cd lout; make all)
@echo Making all in dw
@(cd dw; make all)
@echo Making all in dlib
@(cd dlib; make all)
@echo Making all in dpip
@(cd dpip; make all)
@echo Making all in src
@(cd src; make all)
@echo Making all in doc
@(cd doc; make all)
@echo Making all in dist
@(cd dist; make all)
@echo Making all in dpid
@(cd dpid; make all)
@echo Making all in dpi
@(cd dpi; make all)
test:
@echo Making all in test
@(cd test; make all)
clean:
@echo Cleaning in lout
@(cd lout; make clean)
@echo Cleaning in dw
@(cd dw; make clean)
@echo Cleaning in dlib
@(cd dlib; make clean)
@echo Cleaning in dpip
@(cd dpip; make clean)
@echo Cleaning in src
@(cd src; make clean)
@echo Cleaning in doc
@(cd doc; make clean)
@echo Cleaning in dist
@(cd dist; make clean)
@echo Cleaning in dpid
@(cd dpid; make clean)
@echo Cleaning in dpi
@(cd dpi; make clean)
@echo Cleaning in test
@(cd test; make clean)
install: all
@echo Making install in lout
@(cd lout; make install)
@echo Making install in dw
@(cd dw; make install)
@echo Making install in dlib
@(cd dlib; make install)
@echo Making install in dpip
@(cd dpip; make install)
@echo Making install in src
@(cd src; make install)
@echo Making install in doc
@(cd doc; make install)
@echo Making install in dist
@(cd dist; make install)
@echo Making install in dpid
@(cd dpid; make install)
@echo Making install in dpi
@(cd dpi; make install)
#@echo Making install in test
#@(cd test; make install)
./install-sh -c -d "$(DILLO_BINDIR)"
$(INSTALL) -c dillo-install-hyphenation "$(DILLO_BINDIR)"
./install-sh -c -d "$(DILLO_ETCDIR)"
$(INSTALL) -c -m 644 dillorc "$(DILLO_ETCDIR)"
$(INSTALL) -c -m 644 bm.txt "$(DILLO_ETCDIR)"
$(INSTALL) -c -m 644 style.css "$(DILLO_ETCDIR)"
$(INSTALL) -c -m 644 style_reader_mode.css "$(DILLO_ETCDIR)"
uninstall:
@echo Making uninstall in lout
@(cd lout; make uninstall)
@echo Making uninstall in dw
@(cd dw; make uninstall)
@echo Making uninstall in dlib
@(cd dlib; make uninstall)
@echo Making uninstall in dpip
@(cd dpip; make uninstall)
@echo Making uninstall in src
@(cd src; make uninstall)
@echo Making uninstall in doc
@(cd doc; make uninstall)
@echo Making uninstall in dist
@(cd dist; make uninstall)
@echo Making uninstall in dpid
@(cd dpid; make uninstall)
@echo Making uninstall in dpi
@(cd dpi; make uninstall)
#@echo Making uninstall in test
#@(cd test; make uninstall)
rm -f "$(DILLO_BINDIR)/dillo-install-hyphenation"
rm -f "$(DILLO_ETCDIR)/dillorc"
rm -f "$(DILLO_ETCDIR)/bm.txt"
rm -f "$(DILLO_ETCDIR)/style.css"
rm -f "$(DILLO_ETCDIR)/style_reader_mode.css"