From 0585e168b60a114632b69d993f856b353f888e0d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 24 Sep 2010 22:06:47 +0200 Subject: mysql 5.5.6 first work --- mysql-5.5-no-docs.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 mysql-5.5-no-docs.patch (limited to 'mysql-5.5-no-docs.patch') diff --git a/mysql-5.5-no-docs.patch b/mysql-5.5-no-docs.patch new file mode 100644 index 0000000..e5d8074 --- /dev/null +++ b/mysql-5.5-no-docs.patch @@ -0,0 +1,28 @@ +Remove makefile logic dealing with mysql.info. We cannot ship that +documentation since it is not freely redistributable. + + +diff -up mysql-5.5.6-rc/Docs/Makefile.am.orig mysql-5.5.6-rc/Docs/Makefile.am +--- mysql-5.5.6-rc/Docs/Makefile.am.orig 2010-09-17 22:48:14.000000000 +0200 ++++ mysql-5.5.6-rc/Docs/Makefile.am 2010-09-24 19:18:44.946002757 +0200 +@@ -20,20 +20,14 @@ EXTRA_DIST = mysql.info INSTALL-BINARY + # if we're building the info page from texi directly. + install-data-hook: $(srcdir)/mysql.info + if test `basename $(prefix)` = "mysql" ; then \ +- $(mkinstalldirs) $(DESTDIR)$(prefix)/docs ; \ +- $(INSTALL_DATA) $(srcdir)/mysql.info $(DESTDIR)$(prefix)/docs ; \ + test ! -f $(top_srcdir)/ChangeLog || $(INSTALL_DATA) $(top_srcdir)/ChangeLog $(DESTDIR)$(prefix)/docs ; \ + else \ +- $(mkinstalldirs) $(DESTDIR)$(infodir) $(DESTDIR)$(pkgdatadir) ; \ +- $(INSTALL_DATA) $(srcdir)/mysql.info $(DESTDIR)$(infodir) ; \ + test ! -f $(top_srcdir)/ChangeLog || $(INSTALL_DATA) $(top_srcdir)/ChangeLog $(DESTDIR)$(pkgdatadir) ; \ + fi + + uninstall-local: + if test `basename $(prefix)` = "mysql" ; then \ +- @RM@ -f $(DESTDIR)$(prefix)/docs/mysql.info ; \ + @RM@ -f $(DESTDIR)$(prefix)/docs/ChangeLog ; \ + else \ +- @RM@ -f $(DESTDIR)$(infodir)/mysql.info ; \ + @RM@ -f $(DESTDIR)$(pkgdatadir)/ChangeLog ; \ + fi -- cgit