aboutsummaryrefslogtreecommitdiff
path: root/devel/clang
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2010-08-18 18:59:56 +0000
committerMatthias Andree <mandree@FreeBSD.org>2010-08-18 18:59:56 +0000
commit791032c859886d836b9a4c21076c07961cbd200c (patch)
treec803ed7bcd53e9cb60fc4ecd0d2cbbb2acd6be8b /devel/clang
parenta4345ebd121b935611c6fcc936341abb2390665e (diff)
downloadports-791032c859886d836b9a4c21076c07961cbd200c.tar.gz
ports-791032c859886d836b9a4c21076c07961cbd200c.zip
Fix regression in previous commit that broke NOPORTDOCS=yes installs.
Only remove /html/img if NOPORTDOCS is undefined.
Notes
Notes: svn path=/head/; revision=259524
Diffstat (limited to 'devel/clang')
-rw-r--r--devel/clang/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/clang/Makefile b/devel/clang/Makefile
index 7aad8c8c6c16..eaca0b70c523 100644
--- a/devel/clang/Makefile
+++ b/devel/clang/Makefile
@@ -107,8 +107,9 @@ post-install:
.if defined(NOPORTDOCS)
@${INSTALL_MAN} ${WRKSRC}/tools/clang/docs/tools/clang.1 \
${MANPREFIX}/man/man1/
-.endif
+.else
@${RMDIR} ${DOCSDIR}/html/img
+.endif
TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check)'
regression-test: ${BUILD_COOKIE}