## Copyright (C) 2012 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.

# Whonix template configuration file for qubes-builder
#
# Copy or soft link this file into the qubes-builder directory
# and name it builder.conf
#
# All lines which begins with "#" are treated as comments
# Assignments can be made with VAR_NAME="VALUE"

BUILDER_PLUGINS += builder-debian
BUILDER_PLUGINS += template-whonix

# TEMPLATE_ONLY - Only build templates
# Set 1 to only build template or clear the value for a full build
# Default: novalue
TEMPLATE_ONLY ?= 1

# Release Version
# 2 - Release 2
# 3 - Release 3
# Default: 3
RELEASE := 3

# GIT_PREFIX - Git release repo prefix
# Default: R2: qubes-r2/  R3: qubes-r3/
#GIT_PREFIX := QubesOS/qubes-
#GIT_PREFIX ?= marmarek/qubes-
#GIT_PREFIX ?= Whonix/qubes-
#GIT_PREFIX ?= adrelanos/qubes-

# DISTS_VM - Choose the templates to build.  Multiple templates can be defined
# to build.  Uncomment template dist to build.
# Default: fc20
DISTS_VM :=
DISTS_VM += whonix-gateway
DISTS_VM += whonix-workstation
#DISTS_VM += whonix-workstation+gnome

# DEBUG - Print verbose messages about qubes-builder itself - set "1" to use it
# Default: no value
DEBUG = 0

# VERBOSE - Verbosity level of build process
# 0 - print almost no messages but all build process
# 1 - print (almost) only warnings
# 2 - full output
# Default: 0
VERBOSE = 0

# Include template.conf configuration.  Contains most of the rules to build
# the templates
include example-configs/templates.conf

# Used to identify which additional makefile configuration scripts are being used
about::
	@echo "whonix.conf"
