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
8 lines
308 B
Makefile
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 )
|