3 CATALOGS = @WPREFSMOFILES@
5 CLEANFILES = $(DOMAIN).pot $(CATALOGS)
7 EXTRA_DIST = bg.po ca.po cs.po de.po es.po et.po fi.po fr.po hr.po hu.po \
8 it.po ja.po ko.po nl.po pt.po ru.po sk.po zh_CN.po zh_TW.po
11 $(top_srcdir)/WPrefs.app/Appearance.c \
12 $(top_srcdir)/WPrefs.app/Configurations.c \
13 $(top_srcdir)/WPrefs.app/Docks.c \
14 $(top_srcdir)/WPrefs.app/Expert.c \
15 $(top_srcdir)/WPrefs.app/Focus.c \
16 $(top_srcdir)/WPrefs.app/FontSimple.c \
17 $(top_srcdir)/WPrefs.app/Icons.c \
18 $(top_srcdir)/WPrefs.app/KeyboardShortcuts.c \
19 $(top_srcdir)/WPrefs.app/Menu.c \
20 $(top_srcdir)/WPrefs.app/MenuPreferences.c \
21 $(top_srcdir)/WPrefs.app/MouseSettings.c \
22 $(top_srcdir)/WPrefs.app/Paths.c \
23 $(top_srcdir)/WPrefs.app/Preferences.c \
24 $(top_srcdir)/WPrefs.app/TexturePanel.c \
25 $(top_srcdir)/WPrefs.app/WPrefs.c \
26 $(top_srcdir)/WPrefs.app/WindowHandling.c \
27 $(top_srcdir)/WPrefs.app/Workspace.c \
28 $(top_srcdir)/WPrefs.app/double.c \
29 $(top_srcdir)/WPrefs.app/editmenu.c \
30 $(top_srcdir)/WPrefs.app/main.c \
31 $(top_srcdir)/WPrefs.app/xmodifier.c
33 # not_yet_fully_implemented
34 # $(top_srcdir)/WPrefs.app/KeyboardSettings.c \
35 # $(top_srcdir)/WPrefs.app/Themes.c \
41 $(AM_V_GEN)$(MSGFMT) -c -o $@ $<
44 all-local: $(CATALOGS)
48 $(DOMAIN).pot: $(POTFILES)
49 $(AM_V_GEN)$(XGETTEXT) --default-domain=$(DOMAIN) \
50 --add-comments --keyword=_ --keyword=N_ $(POTFILES)
51 @if cmp -s $(DOMAIN).po $(DOMAIN).pot; then \
54 mv -f $(DOMAIN).po $(DOMAIN).pot; \
59 install-data-local: $(CATALOGS)
60 $(mkinstalldirs) $(DESTDIR)$(localedir)
61 for n in $(CATALOGS) __DuMmY ; do \
62 if test "$$n" -a "$$n" != "__DuMmY" ; then \
63 l=`basename $$n .mo`; \
64 $(mkinstalldirs) $(DESTDIR)$(localedir)/$$l/LC_MESSAGES; \
65 $(INSTALL_DATA) -m 644 $$n $(DESTDIR)$(localedir)/$$l/LC_MESSAGES/$(DOMAIN).mo; \
69 # Create a 'silent rule' for our make check the same way automake does
70 AM_V_CHKTRANS = $(am__v_CHKTRANS_$(V))
71 am__v_CHKTRANS_ = $(am__v_CHKTRANS_$(AM_DEFAULT_VERBOSITY))
72 am__v_CHKTRANS_0 = @echo " CHK translations" ;
75 # 'make check' will make sure the tranlation sources are in line with the compiled source
77 $(AM_V_CHKTRANS)$(top_srcdir)/script/check-translation-sources.sh \
78 "$(srcdir)" -s "$(top_srcdir)/WPrefs.app/Makefile.am"