Commit 33dbdbce authored by unknown's avatar unknown

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


sql/share/Makefile.am:
  create */errmsg.sys during build, not install
BitKeeper/deleted/.del-errmsg.sys~1ea60675399c84c:
  Delete: sql/share/german/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~3a6d0fb8451a3313:
  Delete: sql/share/danish/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~83b86d7ed4cdd5d0:
  Delete: sql/share/estonian/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~93104a2bd5c732a:
  Delete: sql/share/czech/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~9f024dc5e6fe50f5:
  Delete: sql/share/french/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~b5aff4d08478bafd:
  Delete: sql/share/dutch/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~f29bd4ea5aaf54c8:
  Delete: sql/share/english/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~302478c84697dc00:
  Delete: sql/share/japanese/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~a30e3687ae75a7c9:
  Delete: sql/share/korean/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~aff82c16a77fc800:
  Delete: sql/share/hungarian/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~c5108ecb850b79a:
  Delete: sql/share/italian/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~fedf585fa73e7cf1:
  Delete: sql/share/greek/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~126b03af92054f0f:
  Delete: sql/share/polish/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~72688df0beeabcb3:
  Delete: sql/share/russian/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~c0187322f8c9d805:
  Delete: sql/share/portuguese/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~e08aa93bae96d25e:
  Delete: sql/share/romanian/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~10c8f32da39070b2:
  Delete: sql/share/spanish/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~148510616ae825cf:
  Delete: sql/share/slovak/errmsg.sys
BitKeeper/deleted/.del-errmsg.sys~dd772e93db859993:
  Delete: sql/share/swedish/errmsg.sys
BitKeeper/triggers/post-commit:
  adapted for bk-2.0beta5
parent ff823c99
#!/bin/sh #!/bin/sh
shift #shift
TO=dev@mysql.com TO=dev@mysql.com
FROM=$USER@mysql.com FROM=$USER@mysql.com
if [ "$BK_COMMIT" = OK ] if [ "$BK_STATUS" = OK ]
then then
echo "Commit successful, notifying developers at $TO" echo "Commit successful, notifying developers at $TO"
( (
...@@ -18,5 +18,5 @@ EOF ...@@ -18,5 +18,5 @@ EOF
bk cset -r+ -d bk cset -r+ -d
) | /usr/sbin/sendmail -t ) | /usr/sbin/sendmail -t
else else
echo "commit failed because '$BK_COMMIT', sorry life is hard..." echo "commit failed because '$BK_STATUS', sorry life is hard..."
fi fi
...@@ -5,11 +5,16 @@ dist-hook: ...@@ -5,11 +5,16 @@ 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:
for lang in @AVAILABLE_LANGUAGES@; \
do \
../../extra/comp_err $(srcdir)/$$lang/errmsg.txt $(srcdir)/$$lang/errmsg.sys; \
done
install-data-local: install-data-local:
for lang in @AVAILABLE_LANGUAGES@; \ for lang in @AVAILABLE_LANGUAGES@; \
do \ do \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$lang; \ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$lang; \
../../extra/comp_err $(srcdir)/$$lang/errmsg.txt $(srcdir)/$$lang/errmsg.sys; \
$(INSTALL_DATA) $(srcdir)/$$lang/errmsg.sys \ $(INSTALL_DATA) $(srcdir)/$$lang/errmsg.sys \
$(DESTDIR)$(pkgdatadir)/$$lang/errmsg.sys; \ $(DESTDIR)$(pkgdatadir)/$$lang/errmsg.sys; \
$(INSTALL_DATA) $(srcdir)/$$lang/errmsg.txt \ $(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