[gegl] use actual source file locations in more places (distcheck)



commit 570810d11ed2768c7504891bd18f32dbdf679b14
Author: Nils Philippsen <nils redhat com>
Date:   Mon Nov 26 16:03:55 2012 +0100

    use actual source file locations in more places (distcheck)

 operations/Makefile-operations.am |    3 ++-
 tests/buffer/Makefile.am          |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/operations/Makefile-operations.am b/operations/Makefile-operations.am
index 2048927..5d8c673 100644
--- a/operations/Makefile-operations.am
+++ b/operations/Makefile-operations.am
@@ -3,9 +3,10 @@ include $(top_srcdir)/operations/Makefile-common.am
 LIBS            = $(op_libs)
 
 CFILES          = $(wildcard $(srcdir)/*.c)
+HFILES          = $(wildcard $(srcdir)/*.h)
 plugins         = $(subst $(srcdir)/,,$(CFILES:.c=.la))
 INSTALLED_ITEMS = $(subst $(srcdir)/,$(ext_dir)/,$(CFILES:.c=$(SHREXT)))
-EXTRA_DIST      = $(wildcard *.c) $(wildcard *.h)
+EXTRA_DIST      = $(CFILES) $(HFILES)
 
 gegl_lt_cc_v = $(gegl_lt_cc_v_$(V))
 gegl_lt_cc_v_ = $(gegl_lt_cc_v_$(AM_DEFAULT_VERBOSITY))
diff --git a/tests/buffer/Makefile.am b/tests/buffer/Makefile.am
index d62ce71..9ed1512 100644
--- a/tests/buffer/Makefile.am
+++ b/tests/buffer/Makefile.am
@@ -34,7 +34,7 @@ buffer_test_LDADD = 						\
 
 
 # Our custom target rules
-buffer-tests.inc: $(buffer_test_SOURCES) Makefile.am $(top_srcdir)/tests/buffer/tests/*.c
+buffer-tests.inc: $(buffer_test_SOURCES) Makefile.am $(wildcard $(top_srcdir)/tests/buffer/tests/*.c)
 	@echo 'Generating $@'
 	@echo '/* this file is generated by the build system */' > $@
 	@for TEST in  `ls $(top_srcdir)/tests/buffer/tests/*.c | sed -e s:$(top_srcdir)/tests/buffer/tests/:: -e s:\\\.c::`; do \



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