Do use basename
parent
d8123eaac7
commit
566a11fcbe
|
@ -82,8 +82,8 @@ AC_DEFUN_ONCE([MOO_AC_FLAGS],[
|
|||
AC_SUBST(MOO_WIN32_RC_RULE)
|
||||
|
||||
MOO_XML2H='$(top_srcdir)/moo/mooutils/xml2h.sh'
|
||||
MOO_GLADE_SUBDIR_RULE='%-glade.h: glade/%.glade $(MOO_XML2H) ; $(SHELL) $(top_srcdir)/moo/mooutils/xml2h.sh `echo [$]* | sed -e "s/-/_/"`_glade_xml [$]< > [$]@.tmp && mv [$]@.tmp [$]@'
|
||||
MOO_GLADE_RULE='%-glade.h: %.glade $(MOO_XML2H) ; $(SHELL) $(top_srcdir)/moo/mooutils/xml2h.sh `echo [$]* | sed -e "s/-/_/"`_glade_xml [$]< > [$]@.tmp && mv [$]@.tmp [$]@'
|
||||
MOO_GLADE_SUBDIR_RULE='%-glade.h: glade/%.glade $(MOO_XML2H) ; $(SHELL) $(top_srcdir)/moo/mooutils/xml2h.sh `basename "[$]*" | sed -e "s/-/_/"`_glade_xml [$]< > [$]@.tmp && mv [$]@.tmp [$]@'
|
||||
MOO_GLADE_RULE='%-glade.h: %.glade $(MOO_XML2H) ; $(SHELL) $(top_srcdir)/moo/mooutils/xml2h.sh `basename "[$]*" | sed -e "s/-/_/"`_glade_xml [$]< > [$]@.tmp && mv [$]@.tmp [$]@'
|
||||
AC_SUBST(MOO_XML2H)
|
||||
AC_SUBST(MOO_GLADE_SUBDIR_RULE)
|
||||
AC_SUBST(MOO_GLADE_RULE)
|
||||
|
|
Loading…
Reference in New Issue