Patch to allow building in a separate build directory - postscript

Bernard Leak <[email protected]> Mon, 22 Aug 2005 23:11:20 +0100
Newsgroups gmane.comp.multimedia.xmms.devel
Message-ID <[email protected]>
Dear List,
               Sorry - a note I forgot earlier.

The patch is not perfect, in that it does not attempt to correct
some existing grunge.  'top_srcdir' has been set to refer to
the 'src' subdirectory - giving rise to weirdness like paths
beginning $(top_srcdir)/../ - and this ought to be undone.
Note that if in future you want to use aclocal.m4, the
existing path for it is BROKEN, as it is expected to be in
$(top_srcdir)/aclocal.m4 .

Bernard Leak.
--
Before they made me, they broke the mould.

_______________________________________________
xmms-devel mailing list
[email protected]
http://lists.xmms.org/mailman/listinfo/xmms-devel
xmms-1.2.10-sepbuild-1.patch (text/x-patch, 1.1 KB)
#Output of diff -ru xmms-1.2.10/libxmms/Makefile.am{-old,}
--- xmms-1.2.10/libxmms/Makefile.am-old	2003-09-04 21:59:10.000000000 +0100
+++ xmms-1.2.10/libxmms/Makefile.am	2005-08-20 02:55:32.000000000 +0100
@@ -5,7 +5,7 @@
 
 libxmms_la_LDFLAGS = -export-dynamic -version-info $(LIBXMMS_MAJOR_VERSION):$(LIBXMMS_MINOR_VERSION):$(LIBXMMS_MICRO_VERSION)
 libxmms_la_LIBADD = @GTK_LIBS@ @POSIX_LIBS@
-INCLUDES = @GTK_CFLAGS@ -I../intl -I..
+INCLUDES = @GTK_CFLAGS@ -I../intl -I.. -I$(top_srcdir)/..
 
 libxmms_la_SOURCES = \
 configfile.c configfile.h \

#Output of diff -ru xmms-1.2.10/libxmms/Makefile.in{-old,}
--- xmms-1.2.10/libxmms/Makefile.in-old	2004-02-23 21:45:18.000000000 +0000
+++ xmms-1.2.10/libxmms/Makefile.in	2005-08-20 02:55:50.000000000 +0100
@@ -135,7 +135,7 @@
 
 libxmms_la_LDFLAGS = -export-dynamic -version-info $(LIBXMMS_MAJOR_VERSION):$(LIBXMMS_MINOR_VERSION):$(LIBXMMS_MICRO_VERSION)
 libxmms_la_LIBADD = @GTK_LIBS@ @POSIX_LIBS@
-INCLUDES = @GTK_CFLAGS@ -I../intl -I..
+INCLUDES = @GTK_CFLAGS@ -I../intl -I.. -I$(top_srcdir)/..
 
 libxmms_la_SOURCES = \
 configfile.c configfile.h \