diff options
-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}" \ |