[gnome-control-center] printers: Fix build with srcdir != builddir



commit b8e93fb3334d605564672272259c8492072a521a
Author: Colin Walters <walters verbum org>
Date:   Mon Jan 7 12:30:32 2013 +0100

    printers: Fix build with srcdir != builddir

 panels/printers/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/printers/Makefile.am b/panels/printers/Makefile.am
index d38405a..173d958 100644
--- a/panels/printers/Makefile.am
+++ b/panels/printers/Makefile.am
@@ -42,7 +42,7 @@ libprinters_la_SOURCES =		\
 
 libprinters_la_LIBADD = $(PRINTERS_PANEL_LIBS) $(PANEL_LIBS) $(CUPS_LIBS)
 
-resource_files = $(shell glib-compile-resources --generate-dependencies $(srcdir)/printers.gresource.xml)
+resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/printers.gresource.xml)
 cc-printers-resources.c: printers.gresource.xml $(resource_files)
 	$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name cc_printers $<
 cc-printers-resources.h: printers.gresource.xml $(resource_files)



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