Commit db29ac33 authored by serg@hynda.mysql.fi's avatar serg@hynda.mysql.fi

Makefile.am rules for */errmsg.sys refined

parent 1420732f
mwagner@evoq.home.mwagner.org mwagner@evoq.home.mwagner.org
serg@hynda.mysql.fi
## Process this file with automake to create Makefile.in ## Process this file with automake to create Makefile.in
ERRMSG=$(patsubst %, %/errmsg.sys, @AVAILABLE_LANGUAGES@)
# This requires gnu cp at distribution time. # This requires gnu cp at distribution time.
dist-hook: dist-hook:
for lang in @AVAILABLE_LANGUAGES@ charsets; \ for lang in @AVAILABLE_LANGUAGES@ charsets; \
do cp -a $(srcdir)/$$lang $(distdir); done do cp -a $(srcdir)/$$lang $(distdir); done
all: all: $(ERRMSG)
for lang in @AVAILABLE_LANGUAGES@; \
do \ $(ERRMSG): %.sys: %.txt
../../extra/comp_err $(srcdir)/$$lang/errmsg.txt $(srcdir)/$$lang/errmsg.sys; \ ../../extra/comp_err $< $@
done
install-data-local: install-data-local:
for lang in @AVAILABLE_LANGUAGES@; \ for lang in @AVAILABLE_LANGUAGES@; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment