diff options
Diffstat (limited to 'devel/py-watchdog')
-rw-r--r-- | devel/py-watchdog/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/devel/py-watchdog/Makefile b/devel/py-watchdog/Makefile index 40aeb476eed7..ff9c1d6d3080 100644 --- a/devel/py-watchdog/Makefile +++ b/devel/py-watchdog/Makefile @@ -29,17 +29,14 @@ PORTDOCS= * USE_GITHUB= yes USES= python USE_PYTHON= autoplist distutils +NO_ARCH= yes -.include <bsd.port.options.mk> +post-build-DOCS-on: + (cd ${WRKSRC}/docs ; ${MAKE_CMD} html) -.if ${PORT_OPTIONS:MDOCS} -post-build: - (cd ${WRKSRC}/docs ; ${MAKE} html) - -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs/build/html ; \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo") -.endif .include <bsd.port.mk> |