(Michael Schmitt) Consider classic.ui etc. for the creation of pox/pot files.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6997 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-05-22 09:38:59 +00:00
parent 204a070130
commit 021369da29
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2003-05-22 Michael Schmitt <Michael.Schmitt@teststep.org>
* Makefile.in.in: Consider classic.ui etc. for the creation of
pox/pot files.
2003-05-21 Michael Schmitt <Michael.Schmitt@teststep.org> 2003-05-21 Michael Schmitt <Michael.Schmitt@teststep.org>
* de.po: update * de.po: update

View File

@ -49,7 +49,7 @@ POFILES = @POFILES@
GMOFILES = @GMOFILES@ GMOFILES = @GMOFILES@
DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(PACKAGE).pot \ DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(PACKAGE).pot \
$(POFILES) $(GMOFILES) xforms_l10n.pot qt_l10n.pot layouts_l10n.pot \ $(POFILES) $(GMOFILES) xforms_l10n.pot qt_l10n.pot layouts_l10n.pot \
languages_l10n.pot default_ui_l10n.pot languages_l10n.pot ui_l10n.pot
POTFILE_IN_DEPS = $(shell find $(top_srcdir)/src -name Makefile.am) POTFILE_IN_DEPS = $(shell find $(top_srcdir)/src -name Makefile.am)
@ -205,8 +205,8 @@ ${srcdir}/POTFILES.in: $(POTFILE_IN_DEPS)
&& mv $@-t $@ && mv $@-t $@
l10n_pots: $(srcdir)/xforms_l10n.pot $(srcdir)/qt_l10n.pot $(srcdir)/layouts_l10n.pot $(srcdir)/languages_l10n.pot $(srcdir)/default_ui_l10n.pot l10n_pots: $(srcdir)/xforms_l10n.pot $(srcdir)/qt_l10n.pot $(srcdir)/layouts_l10n.pot $(srcdir)/languages_l10n.pot $(srcdir)/ui_l10n.pot
cat $(srcdir)/xforms_l10n.pot $(srcdir)/qt_l10n.pot $(srcdir)/layouts_l10n.pot $(srcdir)/languages_l10n.pot $(srcdir)/default_ui_l10n.pot | \ cat $(srcdir)/xforms_l10n.pot $(srcdir)/qt_l10n.pot $(srcdir)/layouts_l10n.pot $(srcdir)/languages_l10n.pot $(srcdir)/ui_l10n.pot | \
msguniq -o $(PACKAGE).po msguniq -o $(PACKAGE).po
$(srcdir)/xforms_l10n.pot: $(top_srcdir)/src/frontends/xforms/forms/*.fd $(srcdir)/xforms_l10n.pot: $(top_srcdir)/src/frontends/xforms/forms/*.fd
@ -273,7 +273,7 @@ $(srcdir)/languages_l10n.pot: $(top_srcdir)/lib/languages
} \ } \
' $(top_srcdir)/lib/languages > $@ ' $(top_srcdir)/lib/languages > $@
$(srcdir)/default_ui_l10n.pot: $(top_srcdir)/lib/ui/default.ui $(srcdir)/ui_l10n.pot: $(top_srcdir)/lib/ui/*.ui
awk ' \ awk ' \
/^[^#]*Submenu/ { \ /^[^#]*Submenu/ { \
line=$$0; \ line=$$0; \
@ -296,7 +296,7 @@ $(srcdir)/default_ui_l10n.pot: $(top_srcdir)/lib/ui/default.ui
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \ printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
FILENAME, FNR, line); \ FILENAME, FNR, line); \
} \ } \
' $(top_srcdir)/lib/ui/default.ui > $@ ' $(top_srcdir)/lib/ui/*.ui > $@
# Tell versions [3.59,3.63) of GNU make not to export all variables. # Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded. # Otherwise a system limit (for SysV at least) may be exceeded.