diff --git a/src/cap5/Makefile b/src/cap5/Makefile index 05f3de1e3..e408a1cde 100644 --- a/src/cap5/Makefile +++ b/src/cap5/Makefile @@ -33,6 +33,12 @@ ifeq ($(findstring $(OS_CLASS),WIN32 cygwin32),) PERL_SCRIPTS += camonitor.pl PERL_MODULES += CA.pm + + ifeq ($(findstring Host,$(VALID_BUILDS)),Host) + # Can only create docs in Host build + HTMLS_DIR = . + HTMLS = CA.html + endif endif Cap5_SRCS = Cap5.xs @@ -40,12 +46,6 @@ Cap5_LIBS = ca Com Cap5_INCLUDES = -I$(shell $(PERL) ../perlConfig.pl archlib)/CORE Cap5_CFLAGS = $(shell $(PERL) ../perlConfig.pl ccflags) -ifeq ($(findstring Host,$(VALID_BUILDS)),Host) - # Can only create docs in Host build - HTMLS_DIR = . - HTMLS = CA.html -endif - include $(TOP)/configure/RULES ifdef T_A