diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-06-21 19:54:39 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-06-21 19:54:39 (GMT) |
commit | 807b5ba5c1450f3ed1b6849743ef05cf5128177b (patch) | |
tree | 03629ee2d6a62f0a6ada7a2794cc616c4149cbd1 /Source/cmUnixMakefileGenerator.cxx | |
parent | cf829929649c3dc7871e653de33580679c2db558 (diff) | |
download | CMake-807b5ba5c1450f3ed1b6849743ef05cf5128177b.zip CMake-807b5ba5c1450f3ed1b6849743ef05cf5128177b.tar.gz CMake-807b5ba5c1450f3ed1b6849743ef05cf5128177b.tar.bz2 |
better permission handling
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r-- | Source/cmUnixMakefileGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index b7a0309..eff4714 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -1025,10 +1025,10 @@ void cmUnixMakefileGenerator::OutputInstallRules(std::ostream& fout) { fout << "\t@ echo \"Installing " << *i << " \"\n"; fout << "\t@if [ -e " << *i << " ] ; then \\\n"; - fout << "\t $(INSTALL_DATA) " << *i + fout << "\t $(INSTALL) " << *i << " " << prefix << l->second.GetInstallPath() << "; \\\n"; fout << "\t elif [ -e ${srcdir}/" << *i << " ] ; then \\\n"; - fout << "\t $(INSTALL_DATA) ${srcdir}/" << *i + fout << "\t $(INSTALL) ${srcdir}/" << *i << " " << prefix << l->second.GetInstallPath() << "; \\\n"; fout << "\telse \\\n"; fout << "\t echo \" ERROR!!! Unable to find: " << *i |