pub const InstallDir = union(enum)
pub const InstallDir = union(enum) { prefix: void, lib: void, bin: void, header: void, /// A path relative to the prefix custom: []const u8, /// Duplicates the install directory including the path if set to custom. pub fn dupe(dir: InstallDir, graph: *const Graph) InstallDir { if (dir == .custom) { return .{ .custom = graph.dupeString(dir.custom) }; } else { return dir; } } }