Commit c857519a authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

Makefile.am create */errmsg.sys during build, not install

Delete: sql/share/spanish/errmsg.sys	sql/share/swedish/errmsg.sys
	sql/share/slovak/errmsg.sys	sql/share/polish/errmsg.sys
	sql/share/romanian/errmsg.sys	sql/share/russian/errmsg.sys
	sql/share/portuguese/errmsg.sys	sql/share/hungarian/errmsg.sys
	sql/share/italian/errmsg.sys	sql/share/japanese/errmsg.sys
	sql/share/korean/errmsg.sys	sql/share/greek/errmsg.sys
	sql/share/czech/errmsg.sys	sql/share/danish/errmsg.sys
	sql/share/dutch/errmsg.sys	sql/share/english/errmsg.sys
	sql/share/estonian/errmsg.sys	sql/share/french/errmsg.sys
	sql/share/german/errmsg.sys
post-commit	adapted for bk-2.0beta5
parent e0f5c742
#!/bin/sh
shift
#shift
TO=dev@mysql.com
FROM=$USER@mysql.com
if [ "$BK_COMMIT" = OK ]
if [ "$BK_STATUS" = OK ]
then
echo "Commit successful, notifying developers at $TO"
(
......@@ -18,5 +18,5 @@ EOF
bk cset -r+ -d
) | /usr/sbin/sendmail -t
else
echo "commit failed because '$BK_COMMIT', sorry life is hard..."
echo "commit failed because '$BK_STATUS', sorry life is hard..."
fi
......@@ -5,11 +5,16 @@ dist-hook:
for lang in @AVAILABLE_LANGUAGES@ charsets; \
do cp -a $(srcdir)/$$lang $(distdir); done
all:
for lang in @AVAILABLE_LANGUAGES@; \
do \
../../extra/comp_err $(srcdir)/$$lang/errmsg.txt $(srcdir)/$$lang/errmsg.sys; \
done
install-data-local:
for lang in @AVAILABLE_LANGUAGES@; \
do \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$lang; \
../../extra/comp_err $(srcdir)/$$lang/errmsg.txt $(srcdir)/$$lang/errmsg.sys; \
$(INSTALL_DATA) $(srcdir)/$$lang/errmsg.sys \
$(DESTDIR)$(pkgdatadir)/$$lang/errmsg.sys; \
$(INSTALL_DATA) $(srcdir)/$$lang/errmsg.txt \
......
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