aboutsummaryrefslogtreecommitdiffstats
path: root/locales.d/Makefile.am
blob: d1823f2c51a57af51ecf211dfb22d4001d073181 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
localeDATA = locales.d/abbr.conf
localeDATA += locales.d/cs.conf
localeDATA += locales.d/da.conf
localeDATA += locales.d/de.conf
localeDATA += locales.d/de_abbrev.conf
localeDATA += locales.d/es.conf
localeDATA += locales.d/fr.conf
localeDATA += locales.d/fr_FR.ISO-8859-1.conf
localeDATA += locales.d/it.conf
localeDATA += locales.d/la.conf
localeDATA += locales.d/nl.conf
localeDATA += locales.d/no.conf
localeDATA += locales.d/pl.conf
localeDATA += locales.d/pt.conf
localeDATA += locales.d/id.conf
localeDATA += locales.d/pt_BR.conf
localeDATA += locales.d/sk.conf
localeDATA += locales.d/ru.conf

localedatadir = $(pkgdatadir)/locales.d

installlocaleDATA: $(localeDATA)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(localedatadir)
	@list='$(localeDATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(localedatadir)/$$f"; \
	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(localedatadir)/$$f; \
	done

uninstalllocaleDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(localeDATA)'; for p in $$list; do \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " rm -f $(DESTDIR)$(localedatadir)/$$f"; \
	  rm -f $(DESTDIR)$(localedatadir)/$$f; \
	done