summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-06-21 19:54:39 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-06-21 19:54:39 (GMT)
commit807b5ba5c1450f3ed1b6849743ef05cf5128177b (patch)
tree03629ee2d6a62f0a6ada7a2794cc616c4149cbd1 /Source/cmUnixMakefileGenerator.cxx
parentcf829929649c3dc7871e653de33580679c2db558 (diff)
downloadCMake-807b5ba5c1450f3ed1b6849743ef05cf5128177b.zip
CMake-807b5ba5c1450f3ed1b6849743ef05cf5128177b.tar.gz
CMake-807b5ba5c1450f3ed1b6849743ef05cf5128177b.tar.bz2
better permission handling
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx4
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