Hi.

I've needed the following patch to have things build correctly
when builddir != srcdir.

Art Haas

Index: Makefile.am
===================================================================
RCS file: /cvsroot/blackboxwm/blackbox/util/Makefile.am,v
retrieving revision 1.17
diff -u -r1.17 Makefile.am
--- Makefile.am 21 Oct 2002 16:48:18 -0000      1.17
+++ Makefile.am 24 Oct 2002 16:15:58 -0000
@@ -27,12 +27,12 @@
 bin_PROGRAMS           = bsetroot bstyleconvert
 
 bsetroot_SOURCES       = bsetroot.cc
-bsetroot_DEPENDENCIES  = $(top_srcdir)/lib/libbt.a
-bsetroot_LDADD         = -L$(top_srcdir)/lib -lbt
+bsetroot_DEPENDENCIES  = $(top_builddir)/lib/libbt.a
+bsetroot_LDADD         = -L$(top_builddir)/lib -lbt
 
 bstyleconvert_SOURCES          = bstyleconvert.cc
-bstyleconvert_DEPENDENCIES     = $(top_srcdir)/lib/libbt.a
-bstyleconvert_LDADD            = -L$(top_srcdir)/lib -lbt
+bstyleconvert_DEPENDENCIES     = $(top_builddir)/lib/libbt.a
+bstyleconvert_LDADD            = -L$(top_builddir)/lib -lbt
 
 MAINTAINERCLEANFILES   = Makefile.in
 
-- 
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review of Pennsylvania, 1759

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to