5 CLEANFILES = $(CATALOGS)
7 EXTRA_DIST = pt.po hr.po fr.po ko.po cs.po ja.po
10 $(top_builddir)/WPrefs/Configurations.c \
11 $(top_builddir)/WPrefs/Expert.c \
12 $(top_builddir)/WPrefs/Focus.c \
13 $(top_builddir)/WPrefs/Icons.c \
14 $(top_builddir)/WPrefs/KeyboardSettings.c \
15 $(top_builddir)/WPrefs/KeyboardShortcuts.c \
16 $(top_builddir)/WPrefs/Menu.c \
17 $(top_builddir)/WPrefs/MenuGuru.c \
18 $(top_builddir)/WPrefs/MenuPreferences.c \
19 $(top_builddir)/WPrefs/MouseSettings.c \
20 $(top_builddir)/WPrefs/Paths.c \
21 $(top_builddir)/WPrefs/Preferences.c \
22 $(top_builddir)/WPrefs/Text.c \
23 $(top_builddir)/WPrefs/TextureAndColor.c \
24 $(top_builddir)/WPrefs/Themes.c \
25 $(top_builddir)/WPrefs/WPrefs.c \
26 $(top_builddir)/WPrefs/WindowHandling.c \
27 $(top_builddir)/WPrefs/Workspace.c \
28 $(top_builddir)/WPrefs/main.c \
29 $(top_builddir)/WPrefs/xmodifier.c
37 WPrefs.pot: $(POTFILES)
38 xgettext --default-domain=WPrefs \
39 --add-comments --keyword=_ $(POTFILES)
40 if cmp -s WPrefs.po WPrefs.pot; then \
43 mv -f WPrefs.po WPrefs.pot; \
47 install-data-local: $(CATALOGS)
48 $(mkinstalldirs) $(nlsdir)
50 for n in $(CATALOGS) __DuMmY ; do \
51 if test "$$n" -a "$$n" != "__DuMmY" ; then \
52 l=`basename $$n .mo`; \
53 $(mkinstalldirs) $(nlsdir)/$$l/LC_MESSAGES; \
54 chmod 755 $(nlsdir)/$$l; \
55 chmod 755 $(nlsdir)/$$l/LC_MESSAGES; \
56 $(INSTALL) -m 644 $$n $(nlsdir)/$$l/LC_MESSAGES/WPrefs.mo; \