diff options
author | unknown <tim@threads.polyesthetic.msg> | 2001-01-31 15:01:16 -0500 |
---|---|---|
committer | unknown <tim@threads.polyesthetic.msg> | 2001-01-31 15:01:16 -0500 |
commit | 0e30cd0996dc40e395dc8bbd3f2a7ce7a2e0b269 (patch) | |
tree | 7a25c0462826eec35756d51714727c5372c0c64f | |
parent | bbabab09bc499b844565a707ff689569230aeaeb (diff) | |
download | mariadb-git-0e30cd0996dc40e395dc8bbd3f2a7ce7a2e0b269.tar.gz |
Use $(INSTALL_DATA) instead of cp -p in mysql-test and sql-bench.
Clean up $(INSTALL_DATA) use in sql/share.
mysql-test/Makefile.am:
Use $(INSTALL_DATA) instead of cp -p.
sql-bench/Makefile.am:
Use $(INSTALL_DATA) instead of cp -p.
sql/share/Makefile.am:
Use $(INSTALL_DATA), instead of for loop + basename.
-rw-r--r-- | mysql-test/Makefile.am | 12 | ||||
-rw-r--r-- | sql-bench/Makefile.am | 16 | ||||
-rw-r--r-- | sql/share/Makefile.am | 8 |
3 files changed, 17 insertions, 19 deletions
diff --git a/mysql-test/Makefile.am b/mysql-test/Makefile.am index 30852ba5671..d7fab3940f2 100644 --- a/mysql-test/Makefile.am +++ b/mysql-test/Makefile.am @@ -38,12 +38,12 @@ install-data-local: $(DESTDIR)$(testdir)/r \ $(DESTDIR)$(testdir)/include \ $(DESTDIR)$(testdir)/std_data - cp -p $(srcdir)/README $(DESTDIR)$(testdir) - cp -p $(srcdir)/t/*.test $(DESTDIR)$(testdir)/t - cp -p $(srcdir)/t/*.opt $(DESTDIR)$(testdir)/t - cp -p $(srcdir)/r/*.result $(DESTDIR)$(testdir)/r - cp -p $(srcdir)/include/*.inc $(DESTDIR)$(testdir)/include - cp -p $(srcdir)/std_data/*.dat $(DESTDIR)$(testdir)/std_data + $(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(testdir) + $(INSTALL_DATA) $(srcdir)/t/*.test $(DESTDIR)$(testdir)/t + $(INSTALL_DATA) $(srcdir)/t/*.opt $(DESTDIR)$(testdir)/t + $(INSTALL_DATA) $(srcdir)/r/*.result $(DESTDIR)$(testdir)/r + $(INSTALL_DATA) $(srcdir)/include/*.inc $(DESTDIR)$(testdir)/include + $(INSTALL_DATA) $(srcdir)/std_data/*.dat $(DESTDIR)$(testdir)/std_data SUFFIXES = .sh diff --git a/sql-bench/Makefile.am b/sql-bench/Makefile.am index 278ea516910..27d7c7be0d4 100644 --- a/sql-bench/Makefile.am +++ b/sql-bench/Makefile.am @@ -55,14 +55,14 @@ install-data-local: $(DESTDIR)$(benchdir)/Results-win32 \ $(DESTDIR)$(benchdir)/limits \ $(DESTDIR)$(benchdir)/Comments - cp -p $(srcdir)/README $(DESTDIR)$(benchdir) - cp -pr $(srcdir)/Data/ATIS $(DESTDIR)$(benchdir)/Data - cp -pr $(srcdir)/Data/Wisconsin $(DESTDIR)$(benchdir)/Data - cp -pr $(srcdir)/Results $(DESTDIR)$(benchdir) - cp -pr $(srcdir)/Results-linux $(DESTDIR)$(benchdir) - cp -pr $(srcdir)/Results-win32 $(DESTDIR)$(benchdir) - cp -pr $(srcdir)/limits $(DESTDIR)$(benchdir) - cp -pr $(srcdir)/Comments $(DESTDIR)$(benchdir) + $(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(benchdir) + $(INSTALL_DATA) $(srcdir)/Data/ATIS/*.* $(DESTDIR)$(benchdir)/Data/ATIS + $(INSTALL_DATA) $(srcdir)/Data/Wisconsin/*.* $(DESTDIR)$(benchdir)/Data/Wisconsin + $(INSTALL_DATA) $(srcdir)/Results/*-* $(DESTDIR)$(benchdir)/Results + $(INSTALL_DATA) $(srcdir)/Results-linux/*-* $(DESTDIR)$(benchdir)/Results-linux + $(INSTALL_DATA) $(srcdir)/Results-win32/*-* $(DESTDIR)$(benchdir)/Results-win32 + $(INSTALL_DATA) $(srcdir)/limits/*.* $(DESTDIR)$(benchdir)/limits + $(INSTALL_DATA) $(srcdir)/Comments/*.* $(DESTDIR)$(benchdir)/Comments SUFFIXES = .sh diff --git a/sql/share/Makefile.am b/sql/share/Makefile.am index 2f1440597dc..9bbcf6668da 100644 --- a/sql/share/Makefile.am +++ b/sql/share/Makefile.am @@ -20,8 +20,6 @@ install-data-local: $(DESTDIR)$(pkgdatadir)/$$lang/errmsg.txt; \ done $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/charsets - (for f in $(srcdir)/charsets/Index $(srcdir)/charsets/README $(srcdir)/charsets/*.conf; \ - do \ - n=`basename $$f`; \ - $(INSTALL_DATA) $$f $(DESTDIR)$(pkgdatadir)/charsets/$$n; \ - done) + $(INSTALL_DATA) $(srcdir)/charsets/README $(DESTDIR)$(pkgdatadir)/charsets/README + $(INSTALL_DATA) $(srcdir)/charsets/Index $(DESTDIR)$(pkgdatadir)/charsets/Index + $(INSTALL_DATA) $(srcdir)/charsets/*.conf $(DESTDIR)$(pkgdatadir)/charsets |