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