summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallProgramsCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-02-14 23:47:16 (GMT)
committerBrad King <brad.king@kitware.com>2003-02-14 23:47:16 (GMT)
commita02574158d178615cf8fd642695e5099b6041049 (patch)
treedf9f52770e9c2ff771988ae1a91ec0b2287548da /Source/cmInstallProgramsCommand.h
parentdec0b5106611cbccd1f75c1fa3371d66bdd69a47 (diff)
downloadCMake-a02574158d178615cf8fd642695e5099b6041049.zip
CMake-a02574158d178615cf8fd642695e5099b6041049.tar.gz
CMake-a02574158d178615cf8fd642695e5099b6041049.tar.bz2
ENH: Cleaned up documentation and formatted it for use by cmDocumentation.
Diffstat (limited to 'Source/cmInstallProgramsCommand.h')
-rw-r--r--Source/cmInstallProgramsCommand.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/Source/cmInstallProgramsCommand.h b/Source/cmInstallProgramsCommand.h
index 4178296..e90f723 100644
--- a/Source/cmInstallProgramsCommand.h
+++ b/Source/cmInstallProgramsCommand.h
@@ -53,7 +53,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Create install rules for programs";
+ return "Create UNIX install rules for programs.";
}
/**
@@ -70,9 +70,16 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "INSTALL_PROGRAMS(path file file ...)\n"
- "INSTALL_PROGRAMS(path regexp)\n"
- "Create rules to install the listed programs into the path. Path is relative to the variable CMAKE_INSTALL_PREFIX. There are two forms for this command. In the first the programs can be specified explicitly. In the second form any program in the current directory that match the regular expression will be installed.";
+ " INSTALL_PROGRAMS(<dir> file file ...)\n"
+ "Create rules to install the listed programs into the given directory.\n"
+ " INSTALL_PROGRAMS(<dir> regexp)\n"
+ "In the second form any program in the current source directory that "
+ "matches the regular expression will be installed.\n\n"
+ "This command is intended to install programs that are not built "
+ "by cmake, such as shell scripts. See INSTALL_TARGETS to "
+ "create installation rules for targets built by cmake.\n\n"
+ "The directory <dir> is relative to the installation prefix, which "
+ "is stored in the variable CMAKE_INSTALL_PREFIX.";
}
cmTypeMacro(cmInstallProgramsCommand, cmCommand);