[recipes] Try to fix non-srcdir builds
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Try to fix non-srcdir builds
- Date: Fri, 16 Dec 2016 17:44:28 +0000 (UTC)
commit 8cc480f63e50a0c30404833e31612e20cb2cac02
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 16 12:43:31 2016 -0500
Try to fix non-srcdir builds
There was a report of types.h not getting generated properly.
This is a blind attempt at fixing it by relying on automatic
variables instead of vpath.
src/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index c342044..d3aea58 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -126,12 +126,12 @@ resources-images.c: recipes-images.gresource.xml $(resource_image_files)
--target=$@ --sourcedir=$(srcdir) --generate-source
types.h: types.h.template gr-diet.h
- $(AM_V_GEN) ($(GLIB_MKENUMS) --template types.h.template gr-diet.h ) > xgen-eh && \
+ $(AM_V_GEN) ($(GLIB_MKENUMS) --template $^ ) > xgen-eh && \
cp xgen-eh $@ && \
rm -f xgen-eh
types.c: types.c.template gr-diet.h
- $(AM_V_GEN) ($(GLIB_MKENUMS) --template types.c.template gr-diet.h ) > xgen-ec && \
+ $(AM_V_GEN) ($(GLIB_MKENUMS) --template $^ ) > xgen-ec && \
cp xgen-ec $@ && \
rm -f xgen-ec
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]