diff options
| author | jsing <> | 2020-01-22 06:56:50 +0000 |
|---|---|---|
| committer | jsing <> | 2020-01-22 06:56:50 +0000 |
| commit | 37be75af62ef7d9a0ecdf5cb3c78276a758b648b (patch) | |
| tree | 759d0ee41b9ffc1c9dcafc34abff31fa32943996 /src | |
| parent | 6cfc7c6a74fb4ad044b6d8b68f5135cc37105586 (diff) | |
| download | openbsd-37be75af62ef7d9a0ecdf5cb3c78276a758b648b.tar.gz openbsd-37be75af62ef7d9a0ecdf5cb3c78276a758b648b.tar.bz2 openbsd-37be75af62ef7d9a0ecdf5cb3c78276a758b648b.zip | |
Simplify header installation by combining the HDRS and HDRS_GEN loops.
ok beck@
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
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 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.37 2019/11/02 13:38:04 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.38 2020/01/22 06:56:50 jsing Exp $ |
| 2 | 2 | ||
| 3 | LIB= crypto | 3 | LIB= crypto |
| 4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
| @@ -414,14 +414,7 @@ prereq: obj_mac.h | |||
| 414 | includes: prereq | 414 | includes: prereq |
| 415 | @test -d ${DESTDIR}/usr/include/openssl || \ | 415 | @test -d ${DESTDIR}/usr/include/openssl || \ |
| 416 | mkdir ${DESTDIR}/usr/include/openssl | 416 | mkdir ${DESTDIR}/usr/include/openssl |
| 417 | @for i in $(HDRS); do \ | 417 | @for i in $(HDRS) $(HDRS_GEN); do \ |
| 418 | j="cmp -s $$i ${DESTDIR}/usr/include/openssl/`basename $$i` || \ | ||
| 419 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i\ | ||
| 420 | ${DESTDIR}/usr/include/openssl"; \ | ||
| 421 | echo $$j; \ | ||
| 422 | eval "$$j"; \ | ||
| 423 | done; \ | ||
| 424 | for i in $(HDRS_GEN); do \ | ||
| 425 | j="cmp -s $$i ${DESTDIR}/usr/include/openssl/`basename $$i` || \ | 418 | j="cmp -s $$i ${DESTDIR}/usr/include/openssl/`basename $$i` || \ |
| 426 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i\ | 419 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i\ |
| 427 | ${DESTDIR}/usr/include/openssl"; \ | 420 | ${DESTDIR}/usr/include/openssl"; \ |
