#!/usr/bin/make -f

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

# Environment variables (set in builder.conf) that should be made available to
# template build scripts
TEMPLATE_ENV_WHITELIST += DERIVATIVE_APT_REPOSITORY_OPTS

# set APPMENUS_DIR only when building a kicksecure template
ifeq (1,$(TEMPLATE_BUILDER))
ifneq (,$(findstring kicksecure, $(TEMPLATE_FLAVOR)))
APPMENUS_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
endif
endif
