[gegl] look for stuff in $(srcdir) to make off-root builds work



commit 136ac39961046e34b6e2c85538777b2ebdf77a3f
Author: Nils Philippsen <nils redhat com>
Date:   Thu Nov 22 13:35:08 2012 +0100

    look for stuff in $(srcdir) to make off-root builds work

 docs/Makefile.am                  |    2 +-
 operations/Makefile-operations.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 7533739..a422e69 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -210,7 +210,7 @@ endif
 	Makefile.am
 if HAVE_ASCIIDOC
 	@echo "HTML: $@"
-	$(ASCIIDOC) --unsafe  -o $@ -a stylesheet=`pwd`/gegl.css -a quirks! $<
+	$(ASCIIDOC) --unsafe  -o $@ -a stylesheet=$(srcdir)/gegl.css -a quirks! $<
 else
 	@echo "*** asciidoc must be available in order to make dist"
 	@false
diff --git a/operations/Makefile-operations.am b/operations/Makefile-operations.am
index a5f6d37..2048927 100644
--- a/operations/Makefile-operations.am
+++ b/operations/Makefile-operations.am
@@ -17,7 +17,7 @@ gegl_lt_ccld_v_0 = @echo "  CCLD   " $@;
 all-local: $(plugins)
 
 %.la: %.c $(GEGLHEADERS)
-	$(gegl_lt_cc_v) $(LIBTOOL) --quiet --tag=CC --mode=compile $(CC) $(DEFS) -I. -I$(top_builddir) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o $  lo $<
+	$(gegl_lt_cc_v) $(LIBTOOL) --quiet --tag=CC --mode=compile $(CC) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o $  lo $<
 	$(gegl_lt_ccld_v) $(LIBTOOL) --quiet --tag=CC --mode=link $(CC) $(AM_LDFLAGS) $(LDFLAGS) $(CFLAGS) -o $@ -rpath $(ext_dir) $  lo $(LIBS) $(MATH_LIB)
 
 



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