-
Notifications
You must be signed in to change notification settings - Fork 65
/
Makefile
67 lines (45 loc) · 1.09 KB
/
Makefile
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Configuration settings
DISTRO_CODE?=pop-os
DISTRO_VERSION?=24.04
DISTRO_ARCH?=$(shell dpkg --print-architecture)
DISTRO_EPOCH?=$(shell date +%s)
DISTRO_DATE?=$(shell date +%Y%m%d)
DISTRO_PARAMS?=
ISO_NAME?=$(DISTRO_CODE)_$(DISTRO_VERSION)_$(DISTRO_ARCH)
GPG_NAME?=`id -un`
PROPOSED?=0
NVIDIA?=0
HP?=0
# Include automatic variables
include mk/automatic.mk
# Include Ubuntu definitions
include mk/ubuntu.mk
# Language packages
include mk/language.mk
# Include configuration file
include config/$(DISTRO_CODE)/$(DISTRO_VERSION).mk
# Standard target - build the ISO
iso: $(ISO)
tar: $(TAR)
usb: $(USB)
# Complete target - build zsync file, SHA256SUMS, and GPG signature
all: $(ISO) $(ISO).zsync $(BUILD)/SHA256SUMS $(BUILD)/SHA256SUMS.gpg
serve: all
cd $(BUILD) && python3 -m http.server 8909
# Popsicle target
popsicle: $(ISO)
sudo popsicle-gtk "$(ISO)"
# Clean target
include mk/clean.mk
# Germinate target
include mk/germinate.mk
# QEMU targets
include mk/qemu.mk
# Chroot targets
include mk/chroot.mk
# Update targets
include mk/update.mk
# ISO targets
include mk/iso.mk
# Force target
FORCE: