Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 58badfca4f
Fetching contributors…

Cannot retrieve contributors at this time

102 lines (91 sloc) 2.19 kb
## Process this file with automake to produce Makefile.in
#
# $Id: Makefile.am,v 1.13.2.1 2008/02/23 02:41:45 hno Exp $
#
errordir = $(datadir)/errors
##dist-hook eveything
DEFAULT_ERROR_DIR = $(errordir)
INSTALL_LANGUAGES = @ERR_LANGUAGES@
LANGUAGES = \
Armenian \
Azerbaijani \
Bulgarian \
Catalan \
Czech \
Danish \
Dutch \
English \
Estonian \
Finnish \
French \
German \
Greek \
Hebrew \
Hungarian \
Italian \
Japanese \
Korean \
Lithuanian \
Polish \
Portuguese \
Romanian \
Russian-1251 \
Russian-koi8-r \
Serbian \
Simplify_Chinese \
Slovak \
Spanish \
Swedish \
Traditional_Chinese \
Turkish \
Ukrainian-1251 \
Ukrainian-koi8-u \
Ukrainian-utf8
install-data-local:
@for l in $(INSTALL_LANGUAGES); do \
$(mkinstalldirs) $(DESTDIR)$(DEFAULT_ERROR_DIR)/$$l && \
for f in $(srcdir)/$$l/ERR_*; do \
echo "$(INSTALL_DATA) $$f $(DESTDIR)$(DEFAULT_ERROR_DIR)/$$l"; \
$(INSTALL_DATA) $$f $(DESTDIR)$(DEFAULT_ERROR_DIR)/$$l; \
done \
done
uninstall-local:
@for l in $(INSTALL_LANGUAGES); do \
for f in $(srcdir)/$$l/ERR_*; do \
rm -f $(DESTDIR)$(DEFAULT_ERROR_DIR)/$$l/`basename $$f`; \
done \
done
# undocumented hack. You can use this target to create multi-lingual
# error pages. For example:
#
# make ADDLANG=English DESTLANG=French addlang
#
# by Andres Kroonmaa <andre@mail.lbi.ee>
#
addlang: all
-@if test -d $(srcdir)/$(ADDLANG); then \
if test -d $(DEFAULT_ERROR_DIR)/$(DESTLANG); then \
cd $(srcdir)/$(ADDLANG)/ ; \
for f in ERR_*; do \
if test -f $(DEFAULT_ERROR_DIR)/$(DESTLANG)/$$f ; then \
echo "appending $(ADDLANG)/$$f"; \
echo "<HR>" >> $(DEFAULT_ERROR_DIR)/$(DESTLANG)/$$f ; \
cat $$f >> $(DEFAULT_ERROR_DIR)/$(DESTLANG)/$$f; \
fi; \
done; \
fi \
fi
dist-hook:
@ for lang in $(LANGUAGES); do \
if test "$$lang" = .; then :; else \
test -d $(distdir)/$$lang \
|| mkdir $(distdir)/$$lang \
|| exit 1; \
cp -p $(srcdir)/$$lang/ERR_* $(distdir)/$$lang \
|| exit 1; \
if test -f $(srcdir)/$$lang/README; then \
cp -p $(srcdir)/$$lang/README $(distdir)/$$lang \
|| exit 1; \
fi; \
fi; \
done
Jump to Line
Something went wrong with that request. Please try again.