From 86721fb4e80e104ab11742e6694b0414edace454 Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Tue, 8 May 2001 15:39:47 +0000 Subject: [PATCH] Fix the post-install target now that there is more than one text file to install. --- www/mod_gzip/Makefile | 4 ++-- www/mod_gzip2/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/www/mod_gzip/Makefile b/www/mod_gzip/Makefile index 801fb22c8a77..cfc1aa7b34a7 100644 --- a/www/mod_gzip/Makefile +++ b/www/mod_gzip/Makefile @@ -32,10 +32,10 @@ do-build: do-install: cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so -post-install: .if !defined(NOPORTDOCS) +post-install: @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} - @${INSTALL_DATA} ${_DISTDIR}/${DISTFILES:N*gz} \ + @cd ${_DISTDIR} && ${INSTALL_DATA} ${DISTFILES:N*gz} \ ${PREFIX}/share/doc/${PORTNAME} .endif diff --git a/www/mod_gzip2/Makefile b/www/mod_gzip2/Makefile index 801fb22c8a77..cfc1aa7b34a7 100644 --- a/www/mod_gzip2/Makefile +++ b/www/mod_gzip2/Makefile @@ -32,10 +32,10 @@ do-build: do-install: cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so -post-install: .if !defined(NOPORTDOCS) +post-install: @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} - @${INSTALL_DATA} ${_DISTDIR}/${DISTFILES:N*gz} \ + @cd ${_DISTDIR} && ${INSTALL_DATA} ${DISTFILES:N*gz} \ ${PREFIX}/share/doc/${PORTNAME} .endif