Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
47 lines (43 loc) · 2.01 KB
/
Copy pathMakefile
File metadata and controls
47 lines (43 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# USBGuard GUI (USBGuardGUI) — developer entrypoint.
#
# Every target is documented inline; run `make help` for the full list.
# Logic lives in the modular fragments under make/ so that this file stays readable:
#
# make/common.mk — environment, help, housekeeping, TODO tracking
# make/quality.mk — lint, format, audit, security gates
# make/docs.mk — MkDocs site and ADR scaffolding
# make/release.mk — versioning, build, SBOM, checksums, signing
# make/rust.mk — language-specific implementation of the target contract
# make/project.mk — optional, committed, targets that exist only in this project
# make/local.mk — optional, git-ignored, machine-local overrides
SHELL := /bin/bash
.DEFAULT_GOAL := help
# ---------------------------------------------------------------------------
# Project identity — the single source of truth for scripts and workflows.
# ---------------------------------------------------------------------------
PROJECT_NAME := USBGuard GUI
PROJECT_SHORT := USBGuardGUI
PROJECT_SLUG := USBGuardGUI
PROJECT_PKG := usbguard-gui
PROJECT_DIST := usbguard-gui
GITHUB_OWNER := onyks-os
# Prefer the language manifest over a second copy of the version number. Two
# copies drift, and the one that drifts is the one nobody edits: a scaffolded
# project hit exactly this on its first release, with `make release-check`
# printing the previous version's tag for a tree that built the next one.
#
# Falls back to the scaffolded literal, so profiles without a TOML manifest
# (node, generic) keep working.
_MANIFEST_VERSION := $(shell grep -h -m1 '^version = ' pyproject.toml Cargo.toml 2>/dev/null | head -1 | cut -d '"' -f2)
VERSION := $(or $(_MANIFEST_VERSION),0.1.1)
# Directories that hold first-party source, tests, and shell scripts.
SRC_DIRS := usbguard-gui
TEST_DIRS := tests
SCRIPT_DIRS := scripts
include make/common.mk
include make/quality.mk
include make/docs.mk
include make/release.mk
include make/rust.mk
-include make/project.mk
-include make/local.mk