]> git.tdb.fi Git - builder.git/blobdiff - source/component.h
Change component order so that miscellaneous installed files get in tarball
[builder.git] / source / component.h
index b1b6aea994d3142ceb89f33dc3afb2c770c0790f..3a358ce04f36b0770cea5251997d62d6d0ae2b8f 100644 (file)
@@ -48,9 +48,11 @@ public:
        enum Type
        {
                HEADERS,
-               PROGRAM,
                LIBRARY,
+               PROGRAM,
                MODULE,
+               DATAFILE,
+               INSTALL,
                TARBALL
        };
 
@@ -74,9 +76,9 @@ public:
        const PathList &get_sources() const { return sources; }
        const BuildInfo &get_build_info() const { return build_info; }
        bool get_install() const { return install; }
-       bool get_modular() const { return modular; }
+       bool is_modular() const { return modular; }
        const PackageList &get_requires() const { return requires; }
-       bool get_default() const { return deflt; }
+       bool is_default() const { return deflt; }
 
        /** Prepares the build information for building.  Pulls build info from the
        parent and dependency packages, and adds any component-specific flags. */