SHELL = /bin/sh
-prefix = $(DESTDIR)/usr
-exec_prefix = ${prefix}
-datadir = $(prefix)/share
-localedir = $(datadir)/locale
-gnulocaledir = $(prefix)/share/locale
-gettextsrcdir = $(prefix)/share/gettext/po
+localedir = $(LOCALEDIR)
+gnulocaledir = $(LOCALEDIR)
# Not giving an explicit path improves the chances of finding this
INSTALL = install -c
# Not giving an explicit path improves the chances of finding these
GENCAT = gencat
-MSGFMT = msgfmt
+MSGFMT = msgfmt -c # -c: undocumented, but useful option
XGETTEXT = xgettext
MSGMERGE = msgmerge
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
# Enter here all .po files
-POFILES = cs.po de.po es.po fr.po it.po ja.po nl.po pt_BR.po
+POFILES = cs.po da.po de.po es.po fr.po it.po ja.po nl.po pt_BR.po
# the same but with .gmo
-GMOFILES = cs.gmo de.gmo es.gmo fr.gmo it.gmo ja.gmo nl.gmo pt_BR.gmo
+GMOFILES = cs.gmo da.gmo de.gmo es.gmo fr.gmo it.gmo ja.gmo nl.gmo pt_BR.gmo
CATALOGS = $(GMOFILES)
CATOBJEXT = .gmo
install: install-data-$(HAVE_XGETTEXT)
install-data-no: all
install-data-yes: all
- ../mkinstalldirs $(datadir);
@catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
case "$$cat" in \
rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/util-linux$(INSTOBJEXT); \
rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/util-linux$(INSTOBJEXT).m; \
done
- rm -f $(gettextsrcdir)/po-Makefile.in.in
cat-id-tbl.o: $(INTL)/libgettext.h