2000-07-31 21:29:14 +02:00
|
|
|
## Process this file with automake to create Makefile.in
|
|
|
|
|
2001-01-14 11:56:44 +01:00
|
|
|
ERRMSG=$(patsubst %, %/errmsg.sys, @AVAILABLE_LANGUAGES@)
|
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
# This requires gnu cp at distribution time.
|
|
|
|
dist-hook:
|
|
|
|
for lang in @AVAILABLE_LANGUAGES@ charsets; \
|
|
|
|
do cp -a $(srcdir)/$$lang $(distdir); done
|
|
|
|
|
2001-01-14 11:56:44 +01:00
|
|
|
all: $(ERRMSG)
|
|
|
|
|
|
|
|
$(ERRMSG): %.sys: %.txt
|
|
|
|
../../extra/comp_err $< $@
|
2001-01-07 14:51:04 +01:00
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
install-data-local:
|
|
|
|
for lang in @AVAILABLE_LANGUAGES@; \
|
|
|
|
do \
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$lang; \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/$$lang/errmsg.sys \
|
|
|
|
$(DESTDIR)$(pkgdatadir)/$$lang/errmsg.sys; \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/$$lang/errmsg.txt \
|
|
|
|
$(DESTDIR)$(pkgdatadir)/$$lang/errmsg.txt; \
|
|
|
|
done
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/charsets
|
2000-09-22 00:46:26 +02:00
|
|
|
(for f in $(srcdir)/charsets/Index $(srcdir)/charsets/README $(srcdir)/charsets/*.conf; \
|
2000-07-31 21:29:14 +02:00
|
|
|
do \
|
2000-09-22 00:46:26 +02:00
|
|
|
n=`basename $$f`; \
|
|
|
|
$(INSTALL_DATA) $$f $(DESTDIR)$(pkgdatadir)/charsets/$$n; \
|
2000-07-31 21:29:14 +02:00
|
|
|
done)
|