diff options
Diffstat (limited to 'locales.d/Makefile.am')
-rw-r--r-- | locales.d/Makefile.am | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/locales.d/Makefile.am b/locales.d/Makefile.am new file mode 100644 index 0000000..5925ed8 --- /dev/null +++ b/locales.d/Makefile.am @@ -0,0 +1,38 @@ +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 + +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 + |