]> git.tdb.fi Git - builder.git/blobdiff - source/sourcepackage.h
Target::prepare shouldn't be virtual
[builder.git] / source / sourcepackage.h
index d55d373528dc329fc88bf2be82e82d0b6ee59447..20461fb6187f6f975ef31881f538d1de74b53527 100644 (file)
@@ -51,6 +51,8 @@ public:
                void tar_file(const std::string &);
        };
 
+       typedef std::list<Component> ComponentList;
+
 private:
        std::string version;
        std::string description;
@@ -65,6 +67,7 @@ private:
 
 public:
        SourcePackage(Builder &, const std::string &, const Msp::FS::Path &);
+
        const std::string &get_version() const { return version; }
        const std::string &get_description() const { return description; }
        const Msp::FS::Path &get_source() const { return source; }
@@ -78,8 +81,6 @@ public:
 
        DependencyCache &get_deps_cache() const { return deps_cache; }
 private:
-       /** Fills in build info based on configuration.  All required packages must be
-       configured when this is called. */
        virtual void create_build_info();
 
        virtual void create_targets();