Disable tests and documentation compilation and/or installation, speeds up compilation
[openwrt/svn-archive/archive.git] / openwrt / package / openssl / patches / 160-disable_doc_tests.patch
1 diff -urN openssl-0.9.8a/Makefile openssl-0.9.8a.new/Makefile
2 --- openssl-0.9.8a/Makefile 2005-10-11 12:21:48.000000000 +0200
3 +++ openssl-0.9.8a.new/Makefile 2006-03-29 15:23:28.107586680 +0200
4 @@ -102,7 +102,7 @@
5 KRB5_INCLUDES=
6 LIBKRB5=
7
8 -DIRS= crypto ssl engines apps test tools
9 +DIRS= crypto ssl engines apps tools
10 SHLIBDIRS= crypto ssl
11
12 # dirs in crypto to build
13 @@ -119,7 +119,7 @@
14
15 # tests to perform. "alltests" is a special word indicating that all tests
16 # should be performed.
17 -TESTS = alltests
18 +TESTS =
19
20 MAKEFILE= Makefile
21
22 @@ -131,7 +131,7 @@
23
24 TOP= .
25 ONEDIRS=out tmp
26 -EDIRS= times doc bugs util include certs ms shlib mt demos perl sf dep VMS
27 +EDIRS= times bugs util include certs ms shlib mt demos perl sf dep VMS
28 WDIRS= windows
29 LIBS= libcrypto.a libssl.a
30 SHARED_CRYPTO=libcrypto$(SHLIB_EXT)
31 @@ -204,7 +204,7 @@
32 @[ -n "$(THIS)" ] && $(CLEARENV) && $(MAKE) $(THIS) -e $(BUILDENV)
33
34 sub_all: build_all
35 -build_all: build_libs build_apps build_tests build_tools
36 +build_all: build_libs build_apps build_tools
37
38 build_libs: build_crypto build_ssl build_engines
39
40 @@ -454,7 +454,7 @@
41 dist_pem_h:
42 (cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
43
44 -install: all install_docs install_sw
45 +install: all install_sw
46
47 install_sw:
48 @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \
49 diff -urN openssl-0.9.8a/Makefile.bak openssl-0.9.8a.new/Makefile.bak
50 --- openssl-0.9.8a/Makefile.bak 2005-10-11 12:21:44.000000000 +0200
51 +++ openssl-0.9.8a.new/Makefile.bak 2006-03-29 15:28:48.660855176 +0200
52 @@ -102,7 +102,7 @@
53 KRB5_INCLUDES=
54 LIBKRB5=
55
56 -DIRS= crypto ssl engines apps test tools
57 +DIRS= crypto ssl engines apps tools
58 SHLIBDIRS= crypto ssl
59
60 # dirs in crypto to build
61 @@ -119,7 +119,7 @@
62
63 # tests to perform. "alltests" is a special word indicating that all tests
64 # should be performed.
65 -TESTS = alltests
66 +TESTS =
67
68 MAKEFILE= Makefile
69
70 @@ -131,7 +131,7 @@
71
72 TOP= .
73 ONEDIRS=out tmp
74 -EDIRS= times doc bugs util include certs ms shlib mt demos perl sf dep VMS
75 +EDIRS= times bugs util include certs ms shlib mt demos perl sf dep VMS
76 WDIRS= windows
77 LIBS= libcrypto.a libssl.a
78 SHARED_CRYPTO=libcrypto$(SHLIB_EXT)
79 @@ -204,7 +204,7 @@
80 @[ -n "$(THIS)" ] && $(CLEARENV) && $(MAKE) $(THIS) -e $(BUILDENV)
81
82 sub_all: build_all
83 -build_all: build_libs build_apps build_tests build_tools
84 +build_all: build_libs build_apps build_tools
85
86 build_libs: build_crypto build_ssl build_engines
87
88 @@ -221,7 +221,7 @@
89 build_tools:
90 @dir=tools; target=all; $(BUILD_CMD)
91
92 -all_testapps: build_libs build_testapps
93 +all_testapps: build_libs
94 build_testapps:
95 @dir=crypto; target=testapps; $(BUILD_CMD)
96
97 @@ -454,7 +454,7 @@
98 dist_pem_h:
99 (cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
100
101 -install: all install_docs install_sw
102 +install: all install_sw
103
104 install_sw:
105 @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \
106 diff -urN openssl-0.9.8a/Makefile.org openssl-0.9.8a.new/Makefile.org
107 --- openssl-0.9.8a/Makefile.org 2006-03-29 14:59:41.941396896 +0200
108 +++ openssl-0.9.8a.new/Makefile.org 2006-03-29 15:29:46.126119128 +0200
109 @@ -117,7 +117,7 @@
110
111 # tests to perform. "alltests" is a special word indicating that all tests
112 # should be performed.
113 -TESTS = alltests
114 +TESTS =
115
116 MAKEFILE= Makefile
117
118 @@ -129,7 +129,7 @@
119
120 TOP= .
121 ONEDIRS=out tmp
122 -EDIRS= times doc bugs util include certs ms shlib mt demos perl sf dep VMS
123 +EDIRS= times bugs util include certs ms shlib mt demos perl sf dep VMS
124 WDIRS= windows
125 LIBS= libcrypto.a libssl.a
126 SHARED_CRYPTO=libcrypto$(SHLIB_EXT)
127 @@ -202,7 +202,7 @@
128 @[ -n "$(THIS)" ] && $(CLEARENV) && $(MAKE) $(THIS) -e $(BUILDENV)
129
130 sub_all: build_all
131 -build_all: build_libs build_apps build_tests build_tools
132 +build_all: build_libs build_apps build_tools
133
134 build_libs: build_crypto build_ssl build_engines
135
136 @@ -219,7 +219,7 @@
137 build_tools:
138 @dir=tools; target=all; $(BUILD_CMD)
139
140 -all_testapps: build_libs build_testapps
141 +all_testapps: build_libs
142 build_testapps:
143 @dir=crypto; target=testapps; $(BUILD_CMD)
144
145 @@ -452,7 +452,7 @@
146 dist_pem_h:
147 (cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
148
149 -install: all install_docs install_sw
150 +install: all install_sw
151
152 install_sw:
153 @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \