diff options
Diffstat (limited to 'libmysql/Makefile.am')
-rw-r--r-- | libmysql/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
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; \ |