summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2007-03-04 12:14:18 (UTC)
committer Michael Krelin <hacker@klever.net>2007-03-04 12:14:18 (UTC)
commit88e7e2ac30d181e30a7c4fa36d0029990136efb6 (patch) (side-by-side diff)
treee17c49cafb1400b86befa026bdad581526d4747e
parentd0540221d96199532046182649610c8d42252be1 (diff)
downloadsitecing-88e7e2ac30d181e30a7c4fa36d0029990136efb6.zip
sitecing-88e7e2ac30d181e30a7c4fa36d0029990136efb6.tar.gz
sitecing-88e7e2ac30d181e30a7c4fa36d0029990136efb6.tar.bz2
typo corrected
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--include/sitecing/file_factory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sitecing/file_factory.h b/include/sitecing/file_factory.h
index 43a27bb..f23682f 100644
--- a/include/sitecing/file_factory.h
+++ b/include/sitecing/file_factory.h
@@ -10,49 +10,49 @@
*/
namespace sitecing {
using namespace std;
/**
* The factory class. Does the job similar to that which is done by make
* utility.
*/
class file_factory {
public:
/**
* The recursion depth.
*/
int depth;
/**
* The list of files type. The list of strings, in fact.
*/
typedef list<string> file_list_t;
file_factory()
: depth(0) { }
/**
- * Fetch depndencies for the given file.
+ * Fetch dependencies for the given file.
* @param dst the destination file.
* @param deps where to put dependencies to.
*/
virtual void get_dependencies(const string& dst,file_list_t& deps) = 0;
/**
* Check if the destination is up to day.
* @param dst the destination file.
* @param deps if the deps pointer is non there, the dependencies
* retrieved will be stored there.
* @return true if yes.
* @see get_dependencies()
*/
virtual bool is_uptodate(const string& dst,file_list_t* deps=0);
/**
* Build the file requested.
* @param dst the file requested.
*/
virtual void build(const string& dst) = 0;
/**
* Make the file requested, which means: build it, unless it's
* uptodate.
* @see is_uptodate()
* @see build()
*/