Prettified po-subdirs-stamp rule

master
Yevgen Muntyan 2007-06-18 15:03:20 -05:00
parent b5d1548d92
commit 5b95097c06
2 changed files with 3 additions and 3 deletions

View File

@ -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 $< [$]@'
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_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_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 ; (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_RULE2)
])

View File

@ -34,7 +34,7 @@
</configure>
</optimized>
</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>
<args>--new-app</args>
<exe>medit/medit</exe>