Fixed builds from a directory outside of the sourcetree.
[captive.git] / src / install / acquire / Makefile.am
index 82d5d77..369c4b0 100644 (file)
@@ -80,7 +80,7 @@ captive_install_acquire-ui-gnome-interface.$(OBJEXT): ui-gnome-callbacks.h
 if HAVE_GLADE_WRITESOURCE
 # touch(1) as 'ui-gnome-callbacks.h' are not overwritten if not changed:
 $(GLADE_OUT): $(GLADE_IN)
-       sh $(top_srcdir)/macros/glade-w.sh $<
+       sh $(top_builddir)/macros/glade-w.sh $<
        @touch ui-gnome-callbacks.h
 
 endif