diff options
| author | Brent Cook <busterb@gmail.com> | 2021-04-05 02:32:35 -0500 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2021-04-07 07:51:45 -0500 |
| commit | 921c0675a25708d19e76aa8e3b48c4483a1a255d (patch) | |
| tree | d68d125cdc968fd96cca6835fc347a2c8698a6ca | |
| parent | 141f7528cb5610becd963d8c403c5b14afe73634 (diff) | |
| download | portable-921c0675a25708d19e76aa8e3b48c4483a1a255d.tar.gz portable-921c0675a25708d19e76aa8e3b48c4483a1a255d.tar.bz2 portable-921c0675a25708d19e76aa8e3b48c4483a1a255d.zip | |
Add '--enable-libtls-only' build option
| -rw-r--r-- | CMakeLists.txt | 11 | ||||
| -rw-r--r-- | Makefile.am | 33 | ||||
| -rw-r--r-- | apps/ocspcheck/Makefile.am | 5 | ||||
| -rw-r--r-- | apps/openssl/CMakeLists.txt | 10 | ||||
| -rw-r--r-- | apps/openssl/Makefile.am | 36 | ||||
| -rw-r--r-- | configure.ac | 23 | ||||
| -rw-r--r-- | crypto/Makefile.am | 8 | ||||
| -rw-r--r-- | include/openssl/Makefile.am.tpl | 1 | ||||
| -rw-r--r-- | m4/check-os-options.m4 | 18 | ||||
| -rw-r--r-- | ssl/Makefile.am | 4 | ||||
| -rwxr-xr-x | update.sh | 10 |
11 files changed, 91 insertions, 68 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index eca97b3..4183499 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -368,6 +368,17 @@ if(NOT MSVC) | |||
| 368 | DESTINATION ${CMAKE_INSTALL_LIBDIR}) | 368 | DESTINATION ${CMAKE_INSTALL_LIBDIR}) |
| 369 | endif() | 369 | endif() |
| 370 | 370 | ||
| 371 | if(NOT "${OPENSSLDIR}" STREQUAL "") | ||
| 372 | set(CONF_DIR "${OPENSSLDIR}") | ||
| 373 | else() | ||
| 374 | set(CONF_DIR "${CMAKE_INSTALL_PREFIX}/etc/ssl") | ||
| 375 | endif() | ||
| 376 | |||
| 377 | if(ENABLE_LIBRESSL_INSTALL) | ||
| 378 | install(FILES cert.pem openssl.cnf x509v3.cnf DESTINATION ${CONF_DIR}) | ||
| 379 | install(DIRECTORY DESTINATION ${CONF_DIR}/certs) | ||
| 380 | endif(ENABLE_LIBRESSL_INSTALL) | ||
| 381 | |||
| 371 | if(NOT TARGET uninstall) | 382 | if(NOT TARGET uninstall) |
| 372 | configure_file( | 383 | configure_file( |
| 373 | "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" | 384 | "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" |
diff --git a/Makefile.am b/Makefile.am index 6499f07..ed59df0 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -5,10 +5,41 @@ endif | |||
| 5 | ACLOCAL_AMFLAGS = -I m4 | 5 | ACLOCAL_AMFLAGS = -I m4 |
| 6 | 6 | ||
| 7 | pkgconfigdir = $(libdir)/pkgconfig | 7 | pkgconfigdir = $(libdir)/pkgconfig |
| 8 | pkgconfig_DATA = libcrypto.pc libssl.pc libtls.pc openssl.pc | 8 | pkgconfig_DATA = libtls.pc |
| 9 | if !ENABLE_LIBTLS_ONLY | ||
| 10 | pkgconfig_DATA += libcrypto.pc libssl.pc openssl.pc | ||
| 11 | endif | ||
| 9 | 12 | ||
| 10 | EXTRA_DIST = README.md README.windows VERSION config scripts | 13 | EXTRA_DIST = README.md README.windows VERSION config scripts |
| 11 | EXTRA_DIST += CMakeLists.txt cmake_export_symbol.cmake cmake_uninstall.cmake.in FindLibreSSL.cmake | 14 | EXTRA_DIST += CMakeLists.txt cmake_export_symbol.cmake cmake_uninstall.cmake.in FindLibreSSL.cmake |
| 15 | EXTRA_DIST += cert.pem openssl.cnf x509v3.cnf | ||
| 12 | 16 | ||
| 13 | .PHONY: install_sw | 17 | .PHONY: install_sw |
| 14 | install_sw: install | 18 | install_sw: install |
| 19 | |||
| 20 | install-exec-hook: | ||
| 21 | @if [ "@OPENSSLDIR@x" != "x" ]; then \ | ||
| 22 | OPENSSLDIR="$(DESTDIR)@OPENSSLDIR@"; \ | ||
| 23 | else \ | ||
| 24 | OPENSSLDIR="$(DESTDIR)$(sysconfdir)/ssl"; \ | ||
| 25 | fi; \ | ||
| 26 | mkdir -p "$$OPENSSLDIR/certs"; \ | ||
| 27 | for i in cert.pem openssl.cnf x509v3.cnf; do \ | ||
| 28 | if [ ! -f "$$OPENSSLDIR/$i" ]; then \ | ||
| 29 | $(INSTALL) -m 644 "$(srcdir)/$$i" "$$OPENSSLDIR/$$i"; \ | ||
| 30 | else \ | ||
| 31 | echo " $$OPENSSLDIR/$$i already exists, install will not overwrite"; \ | ||
| 32 | fi \ | ||
| 33 | done | ||
| 34 | |||
| 35 | uninstall-local: | ||
| 36 | @if [ "@OPENSSLDIR@x" != "x" ]; then \ | ||
| 37 | OPENSSLDIR="$(DESTDIR)@OPENSSLDIR@"; \ | ||
| 38 | else \ | ||
| 39 | OPENSSLDIR="$(DESTDIR)$(sysconfdir)/ssl"; \ | ||
| 40 | fi; \ | ||
| 41 | for i in cert.pem openssl.cnf x509v3.cnf; do \ | ||
| 42 | if cmp -s "$$OPENSSLDIR/$$i" "$(srcdir)/$$i"; then \ | ||
| 43 | rm -f "$$OPENSSLDIR/$$i"; \ | ||
| 44 | fi \ | ||
| 45 | done | ||
diff --git a/apps/ocspcheck/Makefile.am b/apps/ocspcheck/Makefile.am index e3f7971..71a73ea 100644 --- a/apps/ocspcheck/Makefile.am +++ b/apps/ocspcheck/Makefile.am | |||
| @@ -1,8 +1,11 @@ | |||
| 1 | include $(top_srcdir)/Makefile.am.common | 1 | include $(top_srcdir)/Makefile.am.common |
| 2 | 2 | ||
| 3 | if !ENABLE_LIBTLS_ONLY | ||
| 3 | bin_PROGRAMS = ocspcheck | 4 | bin_PROGRAMS = ocspcheck |
| 4 | |||
| 5 | dist_man_MANS = ocspcheck.8 | 5 | dist_man_MANS = ocspcheck.8 |
| 6 | else | ||
| 7 | noinst_PROGRAMS = ocspcheck | ||
| 8 | endif | ||
| 6 | 9 | ||
| 7 | EXTRA_DIST = ocspcheck.8 | 10 | EXTRA_DIST = ocspcheck.8 |
| 8 | EXTRA_DIST += CMakeLists.txt | 11 | EXTRA_DIST += CMakeLists.txt |
diff --git a/apps/openssl/CMakeLists.txt b/apps/openssl/CMakeLists.txt index 752f3ec..b9cd222 100644 --- a/apps/openssl/CMakeLists.txt +++ b/apps/openssl/CMakeLists.txt | |||
| @@ -83,13 +83,3 @@ if(ENABLE_LIBRESSL_INSTALL) | |||
| 83 | install(TARGETS openssl DESTINATION ${CMAKE_INSTALL_BINDIR}) | 83 | install(TARGETS openssl DESTINATION ${CMAKE_INSTALL_BINDIR}) |
| 84 | install(FILES openssl.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) | 84 | install(FILES openssl.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) |
| 85 | endif(ENABLE_LIBRESSL_INSTALL) | 85 | endif(ENABLE_LIBRESSL_INSTALL) |
| 86 | |||
| 87 | if(NOT "${OPENSSLDIR}" STREQUAL "") | ||
| 88 | set(CONF_DIR "${OPENSSLDIR}") | ||
| 89 | else() | ||
| 90 | set(CONF_DIR "${CMAKE_INSTALL_PREFIX}/etc/ssl") | ||
| 91 | endif() | ||
| 92 | if(ENABLE_LIBRESSL_INSTALL) | ||
| 93 | install(FILES cert.pem openssl.cnf x509v3.cnf DESTINATION ${CONF_DIR}) | ||
| 94 | install(DIRECTORY DESTINATION ${CONF_DIR}/certs) | ||
| 95 | endif(ENABLE_LIBRESSL_INSTALL) | ||
diff --git a/apps/openssl/Makefile.am b/apps/openssl/Makefile.am index 0bd8ca4..b98e08d 100644 --- a/apps/openssl/Makefile.am +++ b/apps/openssl/Makefile.am | |||
| @@ -1,8 +1,11 @@ | |||
| 1 | include $(top_srcdir)/Makefile.am.common | 1 | include $(top_srcdir)/Makefile.am.common |
| 2 | 2 | ||
| 3 | if !ENABLE_LIBTLS_ONLY | ||
| 3 | bin_PROGRAMS = openssl | 4 | bin_PROGRAMS = openssl |
| 4 | |||
| 5 | dist_man_MANS = openssl.1 | 5 | dist_man_MANS = openssl.1 |
| 6 | else | ||
| 7 | noinst_PROGRAMS = openssl | ||
| 8 | endif | ||
| 6 | 9 | ||
| 7 | openssl_LDADD = $(abs_top_builddir)/ssl/libssl.la | 10 | openssl_LDADD = $(abs_top_builddir)/ssl/libssl.la |
| 8 | openssl_LDADD += $(abs_top_builddir)/crypto/libcrypto.la | 11 | openssl_LDADD += $(abs_top_builddir)/crypto/libcrypto.la |
| @@ -92,34 +95,5 @@ noinst_HEADERS += testdsa.h | |||
| 92 | noinst_HEADERS += testrsa.h | 95 | noinst_HEADERS += testrsa.h |
| 93 | noinst_HEADERS += timeouts.h | 96 | noinst_HEADERS += timeouts.h |
| 94 | 97 | ||
| 95 | EXTRA_DIST = cert.pem | 98 | EXTRA_DIST = CMakeLists.txt |
| 96 | EXTRA_DIST += openssl.cnf | ||
| 97 | EXTRA_DIST += x509v3.cnf | ||
| 98 | EXTRA_DIST += CMakeLists.txt | ||
| 99 | |||
| 100 | install-exec-hook: | ||
| 101 | @if [ "@OPENSSLDIR@x" != "x" ]; then \ | ||
| 102 | OPENSSLDIR="$(DESTDIR)@OPENSSLDIR@"; \ | ||
| 103 | else \ | ||
| 104 | OPENSSLDIR="$(DESTDIR)$(sysconfdir)/ssl"; \ | ||
| 105 | fi; \ | ||
| 106 | mkdir -p "$$OPENSSLDIR/certs"; \ | ||
| 107 | for i in cert.pem openssl.cnf x509v3.cnf; do \ | ||
| 108 | if [ ! -f "$$OPENSSLDIR/$i" ]; then \ | ||
| 109 | $(INSTALL) -m 644 "$(srcdir)/$$i" "$$OPENSSLDIR/$$i"; \ | ||
| 110 | else \ | ||
| 111 | echo " $$OPENSSLDIR/$$i already exists, install will not overwrite"; \ | ||
| 112 | fi \ | ||
| 113 | done | ||
| 114 | 99 | ||
| 115 | uninstall-local: | ||
| 116 | @if [ "@OPENSSLDIR@x" != "x" ]; then \ | ||
| 117 | OPENSSLDIR="$(DESTDIR)@OPENSSLDIR@"; \ | ||
| 118 | else \ | ||
| 119 | OPENSSLDIR="$(DESTDIR)$(sysconfdir)/ssl"; \ | ||
| 120 | fi; \ | ||
| 121 | for i in cert.pem openssl.cnf x509v3.cnf; do \ | ||
| 122 | if cmp -s "$$OPENSSLDIR/$$i" "$(srcdir)/$$i"; then \ | ||
| 123 | rm -f "$$OPENSSLDIR/$$i"; \ | ||
| 124 | fi \ | ||
| 125 | done | ||
diff --git a/configure.ac b/configure.ac index 3aca617..fdf72ee 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -110,9 +110,6 @@ AM_CONDITIONAL([HOST_ASM_MASM_X86_64], | |||
| 110 | AM_CONDITIONAL([HOST_ASM_MINGW64_X86_64], | 110 | AM_CONDITIONAL([HOST_ASM_MINGW64_X86_64], |
| 111 | [test "x$HOST_ABI" = "xmingw64" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"]) | 111 | [test "x$HOST_ABI" = "xmingw64" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"]) |
| 112 | 112 | ||
| 113 | # Check if time_t is sized correctly | ||
| 114 | AC_CHECK_SIZEOF([time_t], [time.h]) | ||
| 115 | |||
| 116 | AC_CONFIG_FILES([ | 113 | AC_CONFIG_FILES([ |
| 117 | Makefile | 114 | Makefile |
| 118 | include/Makefile | 115 | include/Makefile |
| @@ -132,18 +129,14 @@ AC_CONFIG_FILES([ | |||
| 132 | openssl.pc | 129 | openssl.pc |
| 133 | ]) | 130 | ]) |
| 134 | 131 | ||
| 135 | AM_CONDITIONAL([SMALL_TIME_T], [test "$ac_cv_sizeof_time_t" = "4"]) | 132 | AC_ARG_ENABLE([nc], |
| 136 | if test "$ac_cv_sizeof_time_t" = "4"; then | 133 | AS_HELP_STRING([--enable-nc], [Enable installing TLS-enabled nc(1)])) |
| 137 | AC_DEFINE([SMALL_TIME_T]) | 134 | AM_CONDITIONAL([ENABLE_NC], [test "x$enable_nc" = xyes]) |
| 138 | echo " ** Warning, this system is unable to represent times past 2038" | 135 | AM_CONDITIONAL([BUILD_NC], [test x$BUILD_NC = xyes -o "x$enable_nc" = xyes]) |
| 139 | echo " ** It will behave incorrectly when handling valid RFC5280 dates" | 136 | |
| 140 | 137 | AC_ARG_ENABLE([libtls-only], | |
| 141 | if test "$host_os" = "mingw32" ; then | 138 | AS_HELP_STRING([--enable-libtls-only], [Enable installing libtls only])) |
| 142 | echo " **" | 139 | AM_CONDITIONAL([ENABLE_LIBTLS_ONLY], [test "x$enable_libtls_only" = xyes]) |
| 143 | echo " ** You can solve this by adjusting the build flags in your" | ||
| 144 | echo " ** mingw-w64 toolchain. Refer to README.windows for details." | ||
| 145 | fi | ||
| 146 | fi | ||
| 147 | 140 | ||
| 148 | AC_REQUIRE_AUX_FILE([tap-driver.sh]) | 141 | AC_REQUIRE_AUX_FILE([tap-driver.sh]) |
| 149 | 142 | ||
diff --git a/crypto/Makefile.am b/crypto/Makefile.am index e32ca96..8552a4d 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am | |||
| @@ -9,7 +9,13 @@ AM_CPPFLAGS += -I$(top_srcdir)/crypto/evp | |||
| 9 | AM_CPPFLAGS += -I$(top_srcdir)/crypto/modes | 9 | AM_CPPFLAGS += -I$(top_srcdir)/crypto/modes |
| 10 | AM_CPPFLAGS += -I$(top_srcdir)/crypto | 10 | AM_CPPFLAGS += -I$(top_srcdir)/crypto |
| 11 | 11 | ||
| 12 | noinst_LTLIBRARIES = libcompat.la | ||
| 13 | |||
| 14 | if ENABLE_LIBTLS_ONLY | ||
| 15 | noinst_LTLIBRARIES += libcrypto.la | ||
| 16 | else | ||
| 12 | lib_LTLIBRARIES = libcrypto.la | 17 | lib_LTLIBRARIES = libcrypto.la |
| 18 | endif | ||
| 13 | 19 | ||
| 14 | EXTRA_DIST = VERSION | 20 | EXTRA_DIST = VERSION |
| 15 | EXTRA_DIST += CMakeLists.txt | 21 | EXTRA_DIST += CMakeLists.txt |
| @@ -126,8 +132,6 @@ else | |||
| 126 | libcrypto_la_CPPFLAGS += -DOPENSSLDIR=\"$(sysconfdir)/ssl\" | 132 | libcrypto_la_CPPFLAGS += -DOPENSSLDIR=\"$(sysconfdir)/ssl\" |
| 127 | endif | 133 | endif |
| 128 | 134 | ||
| 129 | noinst_LTLIBRARIES = libcompat.la | ||
| 130 | |||
| 131 | # compatibility functions that need to be built without optimizations | 135 | # compatibility functions that need to be built without optimizations |
| 132 | if !HAVE_EXPLICIT_BZERO | 136 | if !HAVE_EXPLICIT_BZERO |
| 133 | noinst_LTLIBRARIES += libcompatnoopt.la | 137 | noinst_LTLIBRARIES += libcompatnoopt.la |
diff --git a/include/openssl/Makefile.am.tpl b/include/openssl/Makefile.am.tpl index 1375956..1bea34d 100644 --- a/include/openssl/Makefile.am.tpl +++ b/include/openssl/Makefile.am.tpl | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | include $(top_srcdir)/Makefile.am.common | 1 | include $(top_srcdir)/Makefile.am.common |
| 2 | 2 | ||
| 3 | if !ENABLE_LIBTLS_ONLY | ||
| 3 | opensslincludedir=$(includedir)/openssl | 4 | opensslincludedir=$(includedir)/openssl |
| 4 | 5 | ||
| 5 | opensslinclude_HEADERS = | 6 | opensslinclude_HEADERS = |
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4 index c014efb..644bf71 100644 --- a/m4/check-os-options.m4 +++ b/m4/check-os-options.m4 | |||
| @@ -123,10 +123,20 @@ char buf[1]; getentropy(buf, 1); | |||
| 123 | *) ;; | 123 | *) ;; |
| 124 | esac | 124 | esac |
| 125 | 125 | ||
| 126 | AC_ARG_ENABLE([nc], | 126 | # Check if time_t is sized correctly |
| 127 | AS_HELP_STRING([--enable-nc], [Enable installing TLS-enabled nc(1)])) | 127 | AC_CHECK_SIZEOF([time_t], [time.h]) |
| 128 | AM_CONDITIONAL([ENABLE_NC], [test "x$enable_nc" = xyes]) | 128 | AM_CONDITIONAL([SMALL_TIME_T], [test "$ac_cv_sizeof_time_t" = "4"]) |
| 129 | AM_CONDITIONAL([BUILD_NC], [test x$BUILD_NC = xyes -o "x$enable_nc" = xyes]) | 129 | if test "$ac_cv_sizeof_time_t" = "4"; then |
| 130 | AC_DEFINE([SMALL_TIME_T]) | ||
| 131 | echo " ** Warning, this system is unable to represent times past 2038" | ||
| 132 | echo " ** It will behave incorrectly when handling valid RFC5280 dates" | ||
| 133 | |||
| 134 | if test "$host_os" = "mingw32" ; then | ||
| 135 | echo " **" | ||
| 136 | echo " ** You can solve this by adjusting the build flags in your" | ||
| 137 | echo " ** mingw-w64 toolchain. Refer to README.windows for details." | ||
| 138 | fi | ||
| 139 | fi | ||
| 130 | 140 | ||
| 131 | AM_CONDITIONAL([HOST_AIX], [test x$HOST_OS = xaix]) | 141 | AM_CONDITIONAL([HOST_AIX], [test x$HOST_OS = xaix]) |
| 132 | AM_CONDITIONAL([HOST_CYGWIN], [test x$HOST_OS = xcygwin]) | 142 | AM_CONDITIONAL([HOST_CYGWIN], [test x$HOST_OS = xcygwin]) |
diff --git a/ssl/Makefile.am b/ssl/Makefile.am index 85b932e..7f4c164 100644 --- a/ssl/Makefile.am +++ b/ssl/Makefile.am | |||
| @@ -1,6 +1,10 @@ | |||
| 1 | include $(top_srcdir)/Makefile.am.common | 1 | include $(top_srcdir)/Makefile.am.common |
| 2 | 2 | ||
| 3 | if ENABLE_LIBTLS_ONLY | ||
| 4 | noinst_LTLIBRARIES = libssl.la | ||
| 5 | else | ||
| 3 | lib_LTLIBRARIES = libssl.la | 6 | lib_LTLIBRARIES = libssl.la |
| 7 | endif | ||
| 4 | 8 | ||
| 5 | EXTRA_DIST = VERSION | 9 | EXTRA_DIST = VERSION |
| 6 | EXTRA_DIST += CMakeLists.txt | 10 | EXTRA_DIST += CMakeLists.txt |
| @@ -265,9 +265,9 @@ done | |||
| 265 | echo "copying openssl(1) source" | 265 | echo "copying openssl(1) source" |
| 266 | $CP $bin_src/openssl/openssl.1 apps/openssl | 266 | $CP $bin_src/openssl/openssl.1 apps/openssl |
| 267 | $CP_LIBC $libc_src/stdlib/strtonum.c apps/openssl/compat | 267 | $CP_LIBC $libc_src/stdlib/strtonum.c apps/openssl/compat |
| 268 | $CP $libcrypto_src/cert.pem apps/openssl | 268 | $CP $libcrypto_src/cert.pem . |
| 269 | $CP $libcrypto_src/openssl.cnf apps/openssl | 269 | $CP $libcrypto_src/openssl.cnf . |
| 270 | $CP $libcrypto_src/x509v3.cnf apps/openssl | 270 | $CP $libcrypto_src/x509v3.cnf . |
| 271 | for i in `awk '/SOURCES|HEADERS|MANS/ { print $3 }' apps/openssl/Makefile.am` ; do | 271 | for i in `awk '/SOURCES|HEADERS|MANS/ { print $3 }' apps/openssl/Makefile.am` ; do |
| 272 | if [ -e $bin_src/openssl/$i ]; then | 272 | if [ -e $bin_src/openssl/$i ]; then |
| 273 | $CP $bin_src/openssl/$i apps/openssl | 273 | $CP $bin_src/openssl/$i apps/openssl |
| @@ -327,6 +327,7 @@ chmod 755 tests/testssl | |||
| 327 | for i in `ls -1 *.h|sort`; do | 327 | for i in `ls -1 *.h|sort`; do |
| 328 | echo "opensslinclude_HEADERS += $i" >> Makefile.am | 328 | echo "opensslinclude_HEADERS += $i" >> Makefile.am |
| 329 | done | 329 | done |
| 330 | echo endif >> Makefile.am | ||
| 330 | ) | 331 | ) |
| 331 | 332 | ||
| 332 | add_man_links() { | 333 | add_man_links() { |
| @@ -362,9 +363,9 @@ done | |||
| 362 | # copy manpages | 363 | # copy manpages |
| 363 | echo "copying manpages" | 364 | echo "copying manpages" |
| 364 | echo EXTRA_DIST = CMakeLists.txt > man/Makefile.am | 365 | echo EXTRA_DIST = CMakeLists.txt > man/Makefile.am |
| 366 | echo "if !ENABLE_LIBTLS_ONLY" >> man/Makefile.am | ||
| 365 | echo dist_man3_MANS = >> man/Makefile.am | 367 | echo dist_man3_MANS = >> man/Makefile.am |
| 366 | echo dist_man5_MANS = >> man/Makefile.am | 368 | echo dist_man5_MANS = >> man/Makefile.am |
| 367 | |||
| 368 | (cd man | 369 | (cd man |
| 369 | for i in `ls -1 $libssl_src/man/*.3 | sort`; do | 370 | for i in `ls -1 $libssl_src/man/*.3 | sort`; do |
| 370 | NAME=`basename "$i"` | 371 | NAME=`basename "$i"` |
| @@ -391,3 +392,4 @@ echo dist_man5_MANS = >> man/Makefile.am | |||
| 391 | done | 392 | done |
| 392 | ) | 393 | ) |
| 393 | add_man_links . man/Makefile.am | 394 | add_man_links . man/Makefile.am |
| 395 | echo endif >> man/Makefile.am | ||
