Browse Source

better permission handling

Ken Martin 24 years ago
parent
commit
807b5ba5c1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/cmUnixMakefileGenerator.cxx

+ 2 - 2
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