Prettified po-subdirs-stamp rule
parent
b5d1548d92
commit
5b95097c06
|
@ -19,8 +19,8 @@ AC_DEFUN([MOO_AC_I18N],[
|
||||||
MOO_INTLTOOL_INI_RULE='%.ini: %.ini.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
|
MOO_INTLTOOL_INI_RULE='%.ini: %.ini.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
|
||||||
AC_SUBST(MOO_INTLTOOL_INI_RULE)
|
AC_SUBST(MOO_INTLTOOL_INI_RULE)
|
||||||
|
|
||||||
MOO_PO_SUBDIRS_RULE='po-subdirs-stamp: $(top_srcdir)/po/POTFILES.in ; potfiles=`cat $(top_srcdir)/po/POTFILES.in` && for potfile in $$potfiles; do mkdir -p $(top_builddir)/`dirname $$potfile`; echo $(top_builddir)/`dirname $$potfile` >> po-subdirs-stamp.tmp; done && mv po-subdirs-stamp.tmp po-subdirs-stamp'
|
MOO_PO_SUBDIRS_RULE='po-subdirs-stamp: $(top_srcdir)/po/POTFILES.in ; (for potfile in `cat $<`; do echo `dirname $$potfile`; done) | uniq > $(@).dirs && for subdir in `cat $(@).dirs`; do echo $$subdir >> $(@).tmp; mkdir -p $(top_builddir)/$$subdir; done && rm $(@).dirs && mv $(@).tmp $(@)'
|
||||||
MOO_PO_SUBDIRS_RULE2='po-subdirs-stamp-2: $(top_srcdir)/po-gsv/POTFILES.in ; potfiles=`cat $(top_srcdir)/po-gsv/POTFILES.in` && for potfile in $$potfiles; do mkdir -p $(top_builddir)/`dirname $$potfile`; echo $(top_builddir)/`dirname $$potfile` >> po-subdirs-stamp.tmp; done && mv po-subdirs-stamp.tmp po-subdirs-stamp'
|
MOO_PO_SUBDIRS_RULE2='po-subdirs-stamp-2: $(top_srcdir)/po-gsv/POTFILES.in ; (for potfile in `cat $<`; do echo `dirname $$potfile`; done) | uniq > $(@).dirs && for subdir in `cat $(@).dirs`; do echo $$subdir >> $(@).tmp; mkdir -p $(top_builddir)/$$subdir; done && rm $(@).dirs && mv $(@).tmp $(@)'
|
||||||
AC_SUBST(MOO_PO_SUBDIRS_RULE)
|
AC_SUBST(MOO_PO_SUBDIRS_RULE)
|
||||||
AC_SUBST(MOO_PO_SUBDIRS_RULE2)
|
AC_SUBST(MOO_PO_SUBDIRS_RULE2)
|
||||||
])
|
])
|
||||||
|
|
2
moo.mprj
2
moo.mprj
|
@ -34,7 +34,7 @@
|
||||||
</configure>
|
</configure>
|
||||||
</optimized>
|
</optimized>
|
||||||
</configurations>
|
</configurations>
|
||||||
<file_selector_dir>/home/muntyan/projects/moo/moo/mooedit/</file_selector_dir>
|
<file_selector_dir>/home/muntyan/projects/moo/moo/mooutils/</file_selector_dir>
|
||||||
<run>
|
<run>
|
||||||
<args>--new-app</args>
|
<args>--new-app</args>
|
||||||
<exe>medit/medit</exe>
|
<exe>medit/medit</exe>
|
||||||
|
|
Loading…
Reference in New Issue