diff options
| author | jsing <> | 2020-01-22 06:56:50 +0000 |
|---|---|---|
| committer | jsing <> | 2020-01-22 06:56:50 +0000 |
| commit | 00fdbbfa87e47bc65693fde07da45f941d7a79e8 (patch) | |
| tree | 759d0ee41b9ffc1c9dcafc34abff31fa32943996 /src/lib/libc | |
| parent | 70165c1ccc36585328dc1800b0b9d35a6e4ddd76 (diff) | |
| download | openbsd-00fdbbfa87e47bc65693fde07da45f941d7a79e8.tar.gz openbsd-00fdbbfa87e47bc65693fde07da45f941d7a79e8.tar.bz2 openbsd-00fdbbfa87e47bc65693fde07da45f941d7a79e8.zip | |
Simplify header installation by combining the HDRS and HDRS_GEN loops.
ok beck@
Diffstat (limited to '')
| -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"; \ |
