summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallFilesCommand.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/cmInstallFilesCommand.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/cmInstallFilesCommand.h')
-rw-r--r--Source/cmInstallFilesCommand.h34
1 files changed, 19 insertions, 15 deletions
diff --git a/Source/cmInstallFilesCommand.h b/Source/cmInstallFilesCommand.h
index 892eb7e..8245881 100644
--- a/Source/cmInstallFilesCommand.h
+++ b/Source/cmInstallFilesCommand.h
@@ -53,7 +53,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Create install rules for files";
+ return "Create UNIX install rules for files.";
}
/**
@@ -70,20 +70,24 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "INSTALL_FILES(path extension file file ...)\n"
- "INSTALL_FILES(path regexp)\n"
- "INSTALL_FILES(path FILES file file ...)\n"
- "Create rules to install the listed files into the path. Path is\n"
- "relative to the variable CMAKE_INSTALL_PREFIX. There are three forms for\n"
- "this command. In the first the files can be specified explicitly. If a\n"
- "file specified already has an extension, that extension will be\n"
- "removed first. This is useful for providing lists of source files such\n"
- "as foo.cxx when you want the corresponding foo.h to be installed. A\n"
- "typical extension is .h etc... In the second form any files in the\n"
- "current directory that match the regular expression will be installed.\n"
- "In the third form, any files listed after the FILES keyword will be\n"
- "installed explicitly from the names given. Full paths are allowed in\n"
- "this form.";
+ " INSTALL_FILES(<dir> extension file file ...)\n"
+ "Create rules to install the listed files with the given extension "
+ "into the given directory. "
+ "Only files existing in the current source tree or its corresponding "
+ "location in the binary tree may be listed. "
+ "If a file specified already has an extension, that extension will be "
+ "removed first. This is useful for providing lists of source files such "
+ "as foo.cxx when you want the corresponding foo.h to be installed. A"
+ "typical extension is '.h'.\n"
+ " INSTALL_FILES(<dir> regexp)\n"
+ "Any files in the current source directory that match the regular "
+ "expression will be installed.\n"
+ " INSTALL_FILES(<dir> FILES file file ...)\n"
+ "Any files listed after the FILES keyword will be "
+ "installed explicitly from the names given. Full paths are allowed in "
+ "this form.\n\n"
+ "The directory <dir> is relative to the installation prefix, which "
+ "is stored in the variable CMAKE_INSTALL_PREFIX.";
}
cmTypeMacro(cmInstallFilesCommand, cmCommand);