From 0e938205261fdb61654e1b94e7e772e4c6040e9c Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Mon, 14 Jul 2014 15:42:55 +0000 Subject: Fix installation with DOCS disabled. PR: 144406 Submitted by: Chris Nehren --- deskutils/mirall/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'deskutils') diff --git a/deskutils/mirall/Makefile b/deskutils/mirall/Makefile index 927136c9f167..3b5184dac0e9 100644 --- a/deskutils/mirall/Makefile +++ b/deskutils/mirall/Makefile @@ -41,6 +41,9 @@ post-patch: post-build: @(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample) +.include + +.if ${PORT_OPTIONS:MDOCS} post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${INSTALL_WRKSRC}/doc/latex && ${INSTALL_DATA} *.pdf \ @@ -48,5 +51,6 @@ post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html @(cd ${INSTALL_WRKSRC}/doc/html/unthemed && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}/html) +.endif .include -- cgit v1.2.3