-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Makefile
40 lines (31 loc) · 1.2 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
RELEASE ?= R4.1
BASE_DIRS = backgrounds icons
ANACONDA_DIRS = anaconda firstboot/qubes
EFI_DIRS = bootloader/apple
PLYMOUTH_DIRS = plymouth
DIRS = $(BASE_DIRS) $(ANACONDA_DIRS) $(EFI_DIRS) $(PLYMOUTH_DIRS)
.PHONY: all
all:
@for dir in $(DIRS); do $(MAKE) -C $$dir RELEASE=$(RELEASE) $@ || exit 1; done
.PHONY: clean
clean:
@for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit 1; done
rm -rf debian/changelog.*
rm -rf pkgs
install-base:
install -d $(DESTDIR)
@for dir in $(BASE_DIRS); do $(MAKE) -C $$dir DESTDIR=$(DESTDIR) install || exit 1; done
install-anaconda:
install -d $(DESTDIR)
@for dir in $(ANACONDA_DIRS); do $(MAKE) -C $$dir DESTDIR=$(DESTDIR) install || exit 1; done
install-efi:
install -D -m 0644 anaconda/syslinux-splash.png \
$(DESTDIR)/boot/efi/EFI/qubes/splash.png
install -D -m 0644 plymouth/qubes-dark/qubes-logo-solid.png \
$(DESTDIR)/boot/efi/EFI/qubes/icons/os_qubes.png
install -d $(DESTDIR)
@for dir in $(EFI_DIRS); do $(MAKE) -C $$dir DESTDIR=$(DESTDIR) install || exit 1; done
install-plymouth:
install -d $(DESTDIR)
@for dir in $(PLYMOUTH_DIRS); do $(MAKE) -C $$dir DESTDIR=$(DESTDIR) install || exit 1; done
install: install-base install-anaconda install-efi install-plymouth