Cannot compile man pages outside source directory

Alexandre Julliard julliard at winehq.org
Fri May 6 09:28:47 CDT 2005


William Poetra Yoga H <williampoetra at yahoo.com> writes:

> --- dlls/Makedll.rules.in	8 Mar 2005 16:55:26 -0000	1.71
> +++ dlls/Makedll.rules.in	6 May 2005 13:44:11 -0000
> @@ -61,13 +61,13 @@ $(MAINSPEC).c: $(MAINSPEC) $(RC_SRCS:.rc
>  # Rules for auto documentation
>  
>  man: $(C_SRCS)
> -	$(C2MAN) -o $(TOPOBJDIR)/documentation/man$(api_manext) -R$(TOPOBJDIR) -S$(api_manext) $(INCLUDES) $(MAINSPEC:%=-w %) $(SPEC_SRCS16:%=-w %) $(C_SRCS) $(C_SRCS16)
> +	$(C2MAN) -o $(TOPOBJDIR)/documentation/man$(api_manext) -R$(TOPOBJDIR) -D$(SRCDIR) -S$(api_manext) $(INCLUDES) $(MAINSPEC:%=-w %) $(SPEC_SRCS16:%=-w %) $(C_SRCS) $(C_SRCS16)

Just a detail but you probably want to use -C instead of -D for that
option, it's what the other tools like makedep or winebuild use for
that purpose.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list