summaryrefslogtreecommitdiffstats
path: root/mysql-5.5-no-docs.patch
blob: e5d80749ffaaae4056948d132cb47b7105c5b88a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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