diff options
author | mandree <mandree@FreeBSD.org> | 2010-08-19 02:59:56 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2010-08-19 02:59:56 +0800 |
commit | 945b1a253cf8a8ea558bf7681cf014d97e150e03 (patch) | |
tree | 4645a94b3ef51a414d4b37485db69d2589e9bdfa /lang | |
parent | 2392d4df15627e120c7bdac8b3bde7a3e2fe665e (diff) | |
download | freebsd-ports-graphics-945b1a253cf8a8ea558bf7681cf014d97e150e03.tar.gz freebsd-ports-graphics-945b1a253cf8a8ea558bf7681cf014d97e150e03.tar.zst freebsd-ports-graphics-945b1a253cf8a8ea558bf7681cf014d97e150e03.zip |
Fix regression in previous commit that broke NOPORTDOCS=yes installs.
Only remove /html/img if NOPORTDOCS is undefined.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/clang-devel/Makefile | 3 | ||||
-rw-r--r-- | lang/clang/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile index 7aad8c8c6c1..eaca0b70c52 100644 --- a/lang/clang-devel/Makefile +++ b/lang/clang-devel/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} diff --git a/lang/clang/Makefile b/lang/clang/Makefile index 7aad8c8c6c1..eaca0b70c52 100644 --- a/lang/clang/Makefile +++ b/lang/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} |