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 $< [$]@'
|
||||
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)
|
||||
])
|
||||
|
|
Loading…
Reference in New Issue