Files
evolution/marshal.mk
JP Rosevear 853561bc90 make sure to use the srcdir to build the list
2004-02-24  JP Rosevear <jpr@ximian.com>

	* marshal.mk: make sure to use the srcdir to build the list

svn path=/trunk/; revision=24854
2004-02-24 21:51:23 +00:00

8 lines
318 B
Makefile

%.h: %.list
( $(GLIB_GENMARSHAL) --prefix=$(subst -,_,$*) $(srcdir)/$< --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 )