3 CATALOGS = @WINGSMOFILES@
5 CLEANFILES = $(CATALOGS) WINGs.pot
10 $(top_builddir)/WINGs/configuration.c \
11 $(top_builddir)/WINGs/connection.c \
12 $(top_builddir)/WINGs/dragdestination.c \
13 $(top_builddir)/WINGs/dragsource.c \
14 $(top_builddir)/WINGs/error.c \
15 $(top_builddir)/WINGs/findfile.c \
16 $(top_builddir)/WINGs/hashtable.c \
17 $(top_builddir)/WINGs/host.c \
18 $(top_builddir)/WINGs/international.c \
19 $(top_builddir)/WINGs/memory.c \
20 $(top_builddir)/WINGs/wcolor.c \
21 $(top_builddir)/WINGs/wcolorpanel.c \
22 $(top_builddir)/WINGs/wfilepanel.c \
23 $(top_builddir)/WINGs/wfont.c \
24 $(top_builddir)/WINGs/wfontpanel.c \
25 $(top_builddir)/WINGs/widgets.c \
26 $(top_builddir)/WINGs/wruler.c \
27 $(top_builddir)/WINGs/wtext.c \
28 $(top_builddir)/WINGs/wview.c \
29 $(top_builddir)/WINGs/wtextfield.c \
30 $(top_builddir)/WINGs/wwindow.c
39 WINGs.pot: $(POTFILES)
40 xgettext --default-domain=WINGs \
41 --add-comments --keyword=_ $(POTFILES)
42 if cmp -s WINGs.po WINGs.pot; then \
45 mv -f WINGs.po WINGs.pot; \
48 install-data-local: $(CATALOGS)
49 $(mkinstalldirs) $(DESTDIR)$(nlsdir)
50 chmod 755 $(DESTDIR)$(nlsdir)
51 for n in $(CATALOGS) __DuMmY ; do \
52 if test "$$n" -a "$$n" != "__DuMmY" ; then \
53 l=`basename $$n .mo`; \
54 $(mkinstalldirs) $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES; \
55 chmod 755 $(DESTDIR)$(nlsdir)/$$l; \
56 chmod 755 $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES; \
57 $(INSTALL_DATA) -m 644 $$n $(DESTDIR)$(nlsdir)/$$l/LC_MESSAGES/WINGs.mo; \