diff options
author | unknown <tim@threads.polyesthetic.msg> | 2001-02-01 20:49:04 -0500 |
---|---|---|
committer | unknown <tim@threads.polyesthetic.msg> | 2001-02-01 20:49:04 -0500 |
commit | a556607baff14099016cda9611b7715fa776f28e (patch) | |
tree | da5df29683c61c981d50c49d190f7ddc471786c5 | |
parent | c1c2b95996e491b8146b31eaa40c6261dafa4a20 (diff) | |
download | mariadb-git-a556607baff14099016cda9611b7715fa776f28e.tar.gz |
Use INSTALL_DATA instead of cp.
mysql.server is a script, not data.
Docs/Makefile.am:
Use INSTALL_DATA instead of cp
libmysql/Makefile.am:
Use INSTALL_DATA instead of cp
mysql-test/Makefile.am:
Use INSTALL_DATA instead of cp
sql-bench/Makefile.am:
Use INSTALL_DATA instead of cp
support-files/Makefile.am:
mysql.server is a script, not data.
-rw-r--r-- | Docs/Makefile.am | 4 | ||||
-rw-r--r-- | libmysql/Makefile.am | 4 | ||||
-rw-r--r-- | mysql-test/Makefile.am | 8 | ||||
-rw-r--r-- | sql-bench/Makefile.am | 14 | ||||
-rw-r--r-- | support-files/Makefile.am | 3 |
5 files changed, 17 insertions, 16 deletions
diff --git a/Docs/Makefile.am b/Docs/Makefile.am index 3d8c3e39905..c4da4e9d0d3 100644 --- a/Docs/Makefile.am +++ b/Docs/Makefile.am @@ -115,8 +115,8 @@ manual_letter.ps: manual.texi include.texi dist-hook: BD=`cd $(top_srcdir); pwd`; \ if test ! -d $(distdir)/Flags; then mkdir -p $(distdir)/Flags; fi; \ - cp -p $(srcdir)/Flags/*.gif $(srcdir)/Flags/*.eps $(srcdir)/Flags/*.txt \ - $(distdir)/Flags; + $(INSTALL_DATA) $(srcdir)/Flags/*.gif $(srcdir)/Flags/*.eps \ + $(srcdir)/Flags/*.txt $(distdir)/Flags; echo "PostScript and PDF versions suitable for printing" \ > $(distdir)/manual.ps echo "are available from http://www.mysql.com/Manual/" \ diff --git a/libmysql/Makefile.am b/libmysql/Makefile.am index 7b6472ecaba..baf40a389a3 100644 --- a/libmysql/Makefile.am +++ b/libmysql/Makefile.am @@ -80,8 +80,8 @@ do-lib-dist: objs="$$objs1 $$objs2"; \ rm -rf $$dir; \ mkdir $$dir; \ - cp $$srcs $(mysysheaders) $$dir; \ - for i in $(nh); do cp ../include/$$i $$dir; done; \ + $(INSTALL_DATA) $$srcs $(mysysheaders) $$dir; \ + for i in $(nh); do $(INSTALL_DATA) ../include/$$i $$dir; done; \ echo "# A very minimal Makefile to compile" > $$dir/Makefile; \ echo "# the minimized libmysql library" >> $$dir/Makefile; \ echo "# This file is autogenerated from Makefile.am" >> $$dir/Makefile; \ diff --git a/mysql-test/Makefile.am b/mysql-test/Makefile.am index d7fab3940f2..6deb69b49df 100644 --- a/mysql-test/Makefile.am +++ b/mysql-test/Makefile.am @@ -27,10 +27,10 @@ CLEANFILES = $(test_SCRIPTS) dist-hook: mkdir -p $(distdir)/t $(distdir)/r $(distdir)/include \ $(distdir)/std_data - cp -p $(srcdir)/t/*.test $(srcdir)/t/*.opt $(distdir)/t - cp -p $(srcdir)/include/*.inc $(distdir)/include - cp -p $(srcdir)/r/*.result $(srcdir)/r/*.require $(distdir)/r - cp -p $(srcdir)/std_data/*.dat $(distdir)/std_data + $(INSTALL_DATA) $(srcdir)/t/*.test $(srcdir)/t/*.opt $(distdir)/t + $(INSTALL_DATA) $(srcdir)/include/*.inc $(distdir)/include + $(INSTALL_DATA) $(srcdir)/r/*.result $(srcdir)/r/*.require $(distdir)/r + $(INSTALL_DATA) $(srcdir)/std_data/*.dat $(distdir)/std_data install-data-local: $(mkinstalldirs) \ diff --git a/sql-bench/Makefile.am b/sql-bench/Makefile.am index 27d7c7be0d4..58369313054 100644 --- a/sql-bench/Makefile.am +++ b/sql-bench/Makefile.am @@ -37,13 +37,13 @@ dist-hook: $(distdir)/Results $(distdir)/Results-linux \ $(distdir)/Results-win32 \ $(distdir)/limits $(distdir)/Comments - cp -pr $(srcdir)/Data/ATIS $(distdir)/Data - cp -pr $(srcdir)/Data/Wisconsin $(distdir)/Data - cp -pr $(srcdir)/Results $(distdir)/ - cp -pr $(srcdir)/Results-linux $(distdir)/ - cp -pr $(srcdir)/Results-win32 $(distdir)/ - cp -pr $(srcdir)/limits $(distdir)/ - cp -pr $(srcdir)/Comments $(distdir)/ + $(INSTALL_DATA) $(srcdir)/Data/ATIS/*.* $(distdir)/Data + $(INSTALL_DATA) $(srcdir)/Data/Wisconsin/*.* $(distdir)/Data + $(INSTALL_DATA) $(srcdir)/Results/*-* $(distdir)/ + $(INSTALL_DATA) $(srcdir)/Results-linux/*-* $(distdir)/ + $(INSTALL_DATA) $(srcdir)/Results-win32/*-* $(distdir)/ + $(INSTALL_DATA) $(srcdir)/limits/*.* $(distdir)/ + $(INSTALL_DATA) $(srcdir)/Comments/*.* $(distdir)/ install-data-local: $(mkinstalldirs) \ diff --git a/support-files/Makefile.am b/support-files/Makefile.am index 2f997526e05..a9c85c2a6bd 100644 --- a/support-files/Makefile.am +++ b/support-files/Makefile.am @@ -33,9 +33,10 @@ pkgdata_DATA = my-small.cnf \ my-huge.cnf \ mysql-log-rotate \ mysql-@VERSION@.spec \ - mysql.server \ binary-configure +pkgdata_SCRIPTS = mysql.server + CLEANFILES = my-small.cnf \ my-medium.cnf \ my-large.cnf \ |