diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2011-09-24 20:13:58 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2011-09-24 20:13:58 +0000 |
commit | a354e485daca6f9adc1eb51de86fe818ca01fed9 (patch) | |
tree | dd9376603f21400299c55c19f3393ec18ae8128d | |
parent | 0571cc5ab09aad2031497f1f3df8738e5f167121 (diff) |
generate and install the correct manual page, noted by deraadt@
-rw-r--r-- | usr.sbin/nginx/Makefile.bsd-wrapper | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/nginx/Makefile.bsd-wrapper b/usr.sbin/nginx/Makefile.bsd-wrapper index 6edbbf0c364..e19974914ca 100644 --- a/usr.sbin/nginx/Makefile.bsd-wrapper +++ b/usr.sbin/nginx/Makefile.bsd-wrapper @@ -1,5 +1,5 @@ # Build wrapper for Nginx -# $OpenBSD: Makefile.bsd-wrapper,v 1.1 2011/09/22 23:32:10 robert Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.2 2011/09/24 20:13:57 robert Exp $ LNDIR= /usr/bin/lndir @@ -27,7 +27,7 @@ CONFIGURE_ARGS= --prefix=/etc/nginx \ --without-mail_imap_module \ --without-mail_smtp_module -MAN+= man/nginx.8 +MAN+= ${.OBJDIR}/objs/nginx.8 .include <bsd.own.mk> @@ -36,6 +36,9 @@ all: ${.OBJDIR}/objs/ngx_auto_config.h BEFOREMAN=${.OBJDIR}/objs/ngx_auto_config.h +${.OBJDIR}/objs/nginx.8: ${BEFOREMAN} + cd ${.OBJDIR} && ${MAKE} -f objs/Makefile manpage + ${.OBJDIR}/objs/ngx_auto_config.h: ${.OBJDIR}/configure @cd ${.OBJDIR} && CC="${CC}" LD_SHLIB="${CC}" \ OPTIM="${CFLAGS} ${COPTS}" \ |