From 3a2b9747031394f4c9c7b43b2a90f17c1797bf57 Mon Sep 17 00:00:00 2001 From: beech Date: Thu, 4 Sep 2008 17:26:52 +0000 Subject: - Wrap portdocs install in NOPORTDOCS variable Reported By: QA Tindy --- irc/rbot/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'irc') diff --git a/irc/rbot/Makefile b/irc/rbot/Makefile index 32fd8d396164..0c1ea27259f4 100644 --- a/irc/rbot/Makefile +++ b/irc/rbot/Makefile @@ -25,9 +25,13 @@ SUB_FILES= pkg-message PORTDOCS= README REQUIREMENTS ChangeLog +.include + post-install: - @${MKDIR} ${DOCSDIR} +.if !defined(NOPORTDOCS) + ${INSTALL} -d ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif @${CAT} ${PKGMESSAGE} -.include +.include -- cgit