Files
evolution/marshal.mk
Harish Krishnaswamy 263e728c12 do not add the srcdir prefix as $< already returns the full path. Fixes
2005-10-3  Harish Krishnaswamy <kharish@novell.com>

* marshal.mk : do not add the srcdir prefix as
$< already returns the full path.
Fixes #271308.

svn path=/trunk/; revision=30465
2005-10-03 05:46:08 +00:00

8 lines
308 B
Makefile

%.h: %.list
( $(GLIB_GENMARSHAL) --prefix=$(subst -,_,$*) $< --header > $@.tmp \
&& mv $@.tmp $@ ) || ( rm -f $@.tmp && exit 1 )
%.c: %.list %.h
( (echo "#include \"$*.h\""; $(GLIB_GENMARSHAL) --prefix=$(subst -,_,$*) $(srcdir)/$*.list --body) > $@.tmp \
&& mv $@.tmp $@ ) || ( rm -f $@.tmp && exit 1 )