Cannot compile man pages outside source directory

William Poetra Yoga H williampoetra at yahoo.com
Wed May 4 07:57:31 CDT 2005


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.in	11 Apr 2005 13:04:41 -0000	1.89
+++ dlls/shell32/Makefile.in	4 May 2005 12:51:47 -0000
@@ -1,6 +1,6 @@
 EXTRADEFS = -D_SHELL32_ -DCOM_NO_WINDOWS_H
-TOPSRCDIR = @top_srcdir@
-TOPOBJDIR = ../..
+TOPSRCDIR = @abs_top_srcdir@
+TOPOBJDIR = @abs_top_builddir@
 SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = shell32.dll
@@ -85,10 +85,11 @@ authors.c: $(TOPSRCDIR)/AUTHORS
 	(LC_ALL=C; export LC_ALL; echo 'const char * const SHELL_Authors[] = {' && \
 	 sed -e '1,2d' -e 's/\(.*\)/  \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
 	 echo '  0 };') >$@ || ($(RM) $@ && false)
+	ln -sf $(TOPOBJDIR)/dlls/shell32/authors.c $(SRCDIR)/authors.c
 
 depend: authors.c
 
 clean::
-	$(RM) authors.c
+	$(RM) authors.c $(SRCDIR)/authors.c
 
 ### Dependencies:

And for the files in windows/:

Index: dlls/user/Makefile.in
===================================================================
RCS file: /home/wine/wine/dlls/user/Makefile.in,v
retrieving revision 1.93
diff -u -p -r1.93 Makefile.in
--- dlls/user/Makefile.in	27 Apr 2005 08:18:20 -0000	1.93
+++ dlls/user/Makefile.in	4 May 2005 12:51:47 -0000
@@ -1,6 +1,6 @@
 EXTRADEFS = -D_USER32_ -D_WINABLE_
-TOPSRCDIR = @top_srcdir@
-TOPOBJDIR = ../..
+TOPSRCDIR = @abs_top_srcdir@
+TOPOBJDIR = @abs_top_builddir@
 SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = user32.dll
@@ -15,10 +15,10 @@ SPEC_SRCS16 = \
 	user.exe.spec
 
 C_SRCS = \
-	$(TOPOBJDIR)/windows/driver.c \
-	$(TOPOBJDIR)/windows/multimon.c \
-	$(TOPOBJDIR)/windows/syscolor.c \
-	$(TOPOBJDIR)/windows/user.c \
+	$(TOPSRCDIR)/windows/driver.c \
+	$(TOPSRCDIR)/windows/multimon.c \
+	$(TOPSRCDIR)/windows/syscolor.c \
+	$(TOPSRCDIR)/windows/user.c \
 	button.c \
 	caret.c \
 	class.c \

I think these patches are good enough. Any suggestions?


William Poetra Yoga Hadisoeseno

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the wine-devel mailing list