aboutsummaryrefslogtreecommitdiffstats
path: root/marshal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'marshal.mk')
-rw-r--r--marshal.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/marshal.mk b/marshal.mk
index 9d4298deae..91fac93ff3 100644
--- a/marshal.mk
+++ b/marshal.mk
@@ -1,7 +1,7 @@
%.h: %.list
- ( $(GLIB_GENMARSHAL) --prefix=$(subst -,_,$*) $< --header > $@.tmp \
+ ( $(GLIB_GENMARSHAL) --prefix=$(subst -,_,$*) $(srcdir)/$< --header > $@.tmp \
&& mv $@.tmp $@ ) || ( rm -f $@.tmp && exit 1 )
%.c: %.list %.h
- ( (echo "#include \"$*.h\""; $(GLIB_GENMARSHAL) --prefix=$(subst -,_,$*) $*.list --body) > $@.tmp \
+ ( (echo "#include \"$*.h\""; $(GLIB_GENMARSHAL) --prefix=$(subst -,_,$*) $(srcdir)/$*.list --body) > $@.tmp \
&& mv $@.tmp $@ ) || ( rm -f $@.tmp && exit 1 )