Re: Cannot compile man pages outside source directory

2005-05-06 Thread William Poetra Yoga H
--- Alexandre Julliard <[EMAIL PROTECTED]> wrote: > > 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. > OK, it's -C now. By the way, I think the checks when assigning $opt_source_dir are a

Re: Cannot compile man pages outside source directory

2005-05-06 Thread Alexandre Julliard
William Poetra Yoga H <[EMAIL PROTECTED]> writes: > --- dlls/Makedll.rules.in 8 Mar 2005 16:55:26 - 1.71 > +++ dlls/Makedll.rules.in 6 May 2005 13:44:11 - > @@ -61,13 +61,13 @@ $(MAINSPEC).c: $(MAINSPEC) $(RC_SRCS:.rc > # Rules for auto documentation > > man: $(C_SRCS) >

Re: Cannot compile man pages outside source directory

2005-05-06 Thread William Poetra Yoga H
OK, now the script works correctly. But I think we have to test it some more, so... any volunteers? William Poetra Yoga Hadisoeseno Discover Yahoo! Have fun online with music videos, cool games, IM and more. Check it out! http://discover.yahoo.com/online.htmlIndex: dlls/Makedl

Re: Cannot compile man pages outside source directory

2005-05-06 Thread William Poetra Yoga H
I've modified the c2man.pl script, now 'make manpages' doesn't exit with an error, but no file is written to documentation/man3w. What's wrong? The diff is attached. William Poetra Yoga Hadisoeseno __ Do you Yahoo!? Yahoo! Small Business - Try

Re: Cannot compile man pages outside source directory

2005-05-05 Thread Alexandre Julliard
William Poetra Yoga H <[EMAIL PROTECTED]> writes: > Why shouldn't we have absolute paths in makefiles? It makes it impossible to copy or move build trees around, that's very annoying. -- Alexandre Julliard [EMAIL PROTECTED]

Re: Cannot compile man pages outside source directory

2005-05-05 Thread William Poetra Yoga H
--- Alexandre Julliard <[EMAIL PROTECTED]> wrote: > > No, you don't want to put absolute paths in makefiles. c2man should be > fixed to load files from the source directory if they are not found in > the build directory. > Why shouldn't we have absolute paths in makefiles? OK, I'll take a look

Re: Cannot compile man pages outside source directory

2005-05-05 Thread Alexandre Julliard
William Poetra Yoga H <[EMAIL PROTECTED]> writes: > Then, because documentation/man3w should be in the build directory, we have to > modify TOPSRCDIR and TOPOBJDIR for the makefiles. I modified them to: > > TOPSRCDIR = @abs_top_srcdir@ > TOPOBJDIR = @abs_top_builddir@ > > Is this correct? I'm te

Re: Cannot compile man pages outside source directory

2005-05-04 Thread William Poetra Yoga H
Well, I'm sorry I have to reply myself twice, but I think this thread is somewhat unusually quiet... Anyway, here's the full patch, gzipped (~10KB). Should I submit it to wine-patches in a plaintext format (~130KB) or a gzipped format? William Poetra Yoga Hadisoeseno ___

Re: Cannot compile man pages outside source directory

2005-05-04 Thread William Poetra Yoga H
Can we make a link to the src dir? Like this: Index: dlls/shell32/Makefile.in === RCS file: /home/wine/wine/dlls/shell32/Makefile.in,v retrieving revision 1.89 diff -u -p -r1.89 Makefile.in --- dlls/shell32/Makefile.in11 Apr 2005

Cannot compile man pages outside source directory

2005-05-04 Thread William Poetra Yoga H
I realized today that we can't compile man pages outside the source directory, c2man complains about being unable to find .c files. I modified a line in dlls/Makedll.in: $(C2MAN) -o $(TOPOBJDIR)/documentation/man$(api_manext) -R$(TOPOBJDIR) -S$(api_manext) $(INCLUDES) $(MAINSPEC:%=-w %) $