summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorHe Zhenxing <zhenxing.he@sun.com>2010-03-11 10:58:20 +0800
committerHe Zhenxing <zhenxing.he@sun.com>2010-03-11 10:58:20 +0800
commit9c2961ab63aaefb34b1afd6d247ac3716f57745c (patch)
treea16ca628eda02f8259b47015759953c425dbb93d /plugin
parent7f76b4d36c129678b3d78df895deda3080ddb4c5 (diff)
parentf147aa35a6108ba4afda89743685c8d8b2f353a6 (diff)
downloadmariadb-git-9c2961ab63aaefb34b1afd6d247ac3716f57745c.tar.gz
Auto merge
Diffstat (limited to 'plugin')
-rw-r--r--plugin/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugin/Makefile.am b/plugin/Makefile.am
index 68f1f939836..bddd0c929fc 100644
--- a/plugin/Makefile.am
+++ b/plugin/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright (C) 2005-2006 MySQL AB
+# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -24,5 +24,10 @@ EXTRA_DIST = fulltext/configure.in
SUBDIRS = @mysql_pg_dirs@
DIST_SUBDIRS = @mysql_pg_distdirs@
+# As of 5.5.3-m3, we want to include the plugin files of a debug build in the package
+install-exec-hook:
+ $(mkinstalldirs) $(DESTDIR)$(pkglibdir) $(DESTDIR)$(pkglibdir)/plugin
+ test ! -d debug || $(TAR) cf - debug | ( cd $(DESTDIR)$(pkglibdir) && $(TAR) xvf - )
+
# Don't update the files from bitkeeper
%::SCCS/s.%