Rules to generate headers from glade files
parent
5951a869d0
commit
bea96978c7
|
@ -80,4 +80,11 @@ AC_DEFUN_ONCE([MOO_AC_FLAGS],[
|
|||
AC_SUBST(MOO_INI_IN_IN_RULE)
|
||||
AC_SUBST(MOO_INI_IN_RULE)
|
||||
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 `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