3 CATALOGS = @WINGSMOFILES@
5 CLEANFILES = $(CATALOGS) WINGs.pot
7 EXTRA_DIST = bg.po ca.po cs.po de.po fr.po sk.po
10 $(top_builddir)/WINGs/error.c \
11 $(top_builddir)/WINGs/findfile.c \
12 $(top_builddir)/WINGs/proplist.c \
13 $(top_builddir)/WINGs/userdefaults.c \
14 $(top_builddir)/WINGs/wcolor.c \
15 $(top_builddir)/WINGs/wcolorpanel.c \
16 $(top_builddir)/WINGs/wfilepanel.c \
17 $(top_builddir)/WINGs/wfont.c \
18 $(top_builddir)/WINGs/wfontpanel.c \
19 $(top_builddir)/WINGs/widgets.c \
20 $(top_builddir)/WINGs/wruler.c
28 all-local: $(CATALOGS)
30 WINGs.pot: $(POTFILES)
31 xgettext --default-domain=WINGs \
32 --add-comments --keyword=_ --keyword=N_ $(POTFILES)
33 if cmp -s WINGs.po WINGs.pot; then \
36 mv -f WINGs.po WINGs.pot; \
39 install-data-local: $(CATALOGS)
40 $(mkinstalldirs) $(DESTDIR)$(nlsdir)
41 chmod 755 $(DESTDIR)$(nlsdir)
42 for n in $(CATALOGS) __DuMmY ; do \
43 if test "$$n" -a "$$n" != "__DuMmY" ; then \
44 l=`basename $$n .mo`; \
45 $(mkinstalldirs) $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES; \
46 chmod 755 $(DESTDIR)$(nlsdir)/$$l; \
47 chmod 755 $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES; \
48 $(INSTALL_DATA) -m 644 $$n $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES/WINGs.mo; \