From 00fdbbfa87e47bc65693fde07da45f941d7a79e8 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Wed, 22 Jan 2020 06:56:50 +0000 Subject: Simplify header installation by combining the HDRS and HDRS_GEN loops. ok beck@ --- src/lib/libcrypto/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 4ddb49c680..b92f8cd56d 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.37 2019/11/02 13:38:04 jsing Exp $ +# $OpenBSD: Makefile,v 1.38 2020/01/22 06:56:50 jsing Exp $ LIB= crypto LIBREBUILD=y @@ -414,14 +414,7 @@ prereq: obj_mac.h includes: prereq @test -d ${DESTDIR}/usr/include/openssl || \ mkdir ${DESTDIR}/usr/include/openssl - @for i in $(HDRS); do \ - j="cmp -s $$i ${DESTDIR}/usr/include/openssl/`basename $$i` || \ - ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i\ - ${DESTDIR}/usr/include/openssl"; \ - echo $$j; \ - eval "$$j"; \ - done; \ - for i in $(HDRS_GEN); do \ + @for i in $(HDRS) $(HDRS_GEN); do \ j="cmp -s $$i ${DESTDIR}/usr/include/openssl/`basename $$i` || \ ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i\ ${DESTDIR}/usr/include/openssl"; \ -- cgit v1.2.3-55-g6feb