Fix to handle out-of-tree builds - use $(top_srcdir) rather than a
authorGuy Harris <guy@alum.mit.edu>
Thu, 8 Mar 2012 08:45:20 +0000 (08:45 -0000)
committerGuy Harris <guy@alum.mit.edu>
Thu, 8 Mar 2012 08:45:20 +0000 (08:45 -0000)
string of ../ items to get to another directory in the source tree, as,
when doing an out-of-tree build, the source tree is a separate tree from
the build tree.

svn path=/trunk/; revision=41425

ui/gtk/Makefile.am

index 90145302be055df38e77a651df1e3540359842fc..78845daaa71598eb894ce8435edb1a47f974623c 100644 (file)
@@ -106,7 +106,7 @@ expert_indicators.h:
        echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
        echo >> $@
        for elevel in chat error none note warn ; do \
-               gdk-pixbuf-csource --raw --name=expert_$${elevel}_pb_data ../../image/expert_$${elevel}.png >> $@ ;\
+               gdk-pixbuf-csource --raw --name=expert_$${elevel}_pb_data $(top_srcdir)/image/expert_$${elevel}.png >> $@ ;\
        done
 
 capture_comment_icons.h: