Bug in Makefile.am (panel)



  While building from CVS I always compile with srcdir != builddir. Compiling
the panel it aborts. I made this patch but don't know if it's totaly right,
but at least it compiles. As gnome-panel.cc and gnome-panel.h are created at
build time I think they should be created in buildir but I don't know how.
So, this is a good solution until someone really fixes it.

 By the way, running the panel I couldn't see the clock applet unless I ran
it by hand after the panel starts. How is it supposed to work?

Here's the patch.
Index: Makefile.am
===================================================================
RCS file: /debian/home/gnomecvs/gnome-core/panel/Makefile.am,v
retrieving revision 1.37
diff -u -r1.37 Makefile.am
--- Makefile.am 1998/02/25 06:04:45     1.37
+++ Makefile.am 1998/02/28 02:55:11
@@ -21,7 +21,7 @@
 BUILT_SOURCES = $(CORBA_SOURCES)
 
 gnome-panel.cc: gnome-panel.idl
-       idl $(srcdir)/gnome-panel.idl
+       (cd $(srcdir) && idl gnome-panel.idl)
 
 panel_SOURCES =                \
        drawer.c                \
   
-- 
Nuno Ferreira
nmrf@rnl.ist.utl.pt



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]