summaryrefslogtreecommitdiff
path: root/Docs
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-04-19 13:33:38 +0200
committerunknown <lenz@mysql.com>2005-04-19 13:33:38 +0200
commitd0b6c3646065300dd7efa980bb0d7575d6c01ed6 (patch)
tree50ca83a68954a1a0cfa50ee1f9944111f1d9281a /Docs
parentc14f04957ef1799b6e0a255315f7fbca13bd6242 (diff)
downloadmariadb-git-d0b6c3646065300dd7efa980bb0d7575d6c01ed6.tar.gz
Updated Docs/Makefile.am:
- fixed copyright header and removed obsolete comments about how to build the manual using texinfo - added an "install-data-hook" to install the mysql.info info page. This seems to be the only way to install info pages, if they are not built from texinfo sources directly. Docs/Makefile.am: - fixed copyright header and removed obsolete comments about how to build the manual using texinfo - added an "install-data-hook" to install the mysql.info info page. This seems to be the only way to install info pages, if they are not built from texinfo sources directly.
Diffstat (limited to 'Docs')
-rw-r--r--Docs/Makefile.am32
1 files changed, 22 insertions, 10 deletions
diff --git a/Docs/Makefile.am b/Docs/Makefile.am
index a0d278285b4..8577fee52cb 100644
--- a/Docs/Makefile.am
+++ b/Docs/Makefile.am
@@ -1,13 +1,18 @@
-# Normally you do not need to remake the files here. But if you want
-# to you will need the GNU TeX-info utilities. To make a Postscript
-# files you also need TeX and dvips. To make the PDF file you will
-# need pdftex. We use the teTeX distribution for all of these.
-
-# We avoid default automake rules because of problems with .dvi file
-# and BSD makes
-
-# If you know how to fix any of this more elegantly please mail
-# docs@mysql.com
+# Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
+#
+# 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
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
noinst_SCRIPTS = Support/generate-text-files.pl
@@ -18,6 +23,13 @@ all: txt_files
txt_files: ../INSTALL-SOURCE ../EXCEPTIONS-CLIENT \
INSTALL-BINARY ../support-files/MacOSX/ReadMe.txt
+# make sure that "make install" installs the info page, too
+# automake only seems to take care of this automatically,
+# if we're building the info page from texi directly.
+install-data-hook: mysql.info
+ $(mkinstalldirs) $(DESTDIR)$(infodir)
+ $(INSTALL_DATA) $(srcdir)/mysql.info $(DESTDIR)$(infodir)
+
CLEAN_FILES: $(txt_files)
touch $(txt_files)