blob: f624ea3e79258cc9d8829b2672bc4711adb1c857 (
plain)
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
|
SUBDIRS =
DESTDIR =
UBINDIR ?= /usr/bin
LIBDIR ?= /usr/lib
SBINDIR ?= /sbin
USBINDIR ?= /usr/sbin
BINDIR ?= /bin
LIBEXECDIR ?= /usr/libexec
SYSCONFDIR ?= /etc
SYSTEMD_UNITDIR ?= $(LIBDIR)/systemd/system
SYSV_INITDIR = /etc/init.d
all:
for d in $(SUBDIRS); do $(MAKE) -C $$d; done
clean:
for d in $(SUBDIRS); do $(MAKE) -C $$d clean; done
install:
for d in $(SUBDIRS); do $(MAKE) -C $$d install; done
install -d $(DESTDIR)/$(LIBEXECDIR)
install -m 0755 installer-{text,gui}.sh $(DESTDIR)/$(LIBEXECDIR)/
install -m 0755 kogaionlive.sh $(DESTDIR)/$(LIBEXECDIR)/
install -m 0755 x-setup.sh $(DESTDIR)/$(LIBEXECDIR)/
install -m 0755 cdeject.sh $(DESTDIR)/$(LIBEXECDIR)/
install -m 0755 graphical_start.sh ${DESTDIR}/${LIBEXECDIR}/
install -d $(DESTDIR)/$(SBINDIR)
install -d $(DESTDIR)/$(BINDIR)
install -m 0755 logscript.sh $(DESTDIR)/$(SBINDIR)/
install -m 0755 *-functions.sh $(DESTDIR)/$(SBINDIR)/
install -m 0755 bashlogin $(DESTDIR)/$(BINDIR)/
install -m 0755 vga-cmd-parser $(DESTDIR)/$(BINDIR)/
install -d $(DESTDIR)/$(USBINDIR)
install -m 0755 net-setup $(DESTDIR)/$(USBINDIR)/
install -d $(DESTDIR)/$(UBINDIR)
install -m 0755 livespawn $(DESTDIR)/$(UBINDIR)/
install -m 0755 sabutil $(DESTDIR)/$(UBINDIR)/
install -m 0755 kogaion-live-check $(DESTDIR)/$(UBINDIR)/
install -m 0755 kogaion-welcome-loader $(DESTDIR)/$(UBINDIR)/
install -d $(DESTDIR)/$(SYSCONFDIR)/kogaion
install -m 0644 kogaion-welcome-loader.desktop $(DESTDIR)/$(SYSCONFDIR)/kogaion
install -d $(DESTDIR)/$(SYSTEMD_UNITDIR)/
install -m 0644 *.service $(DESTDIR)/$(SYSTEMD_UNITDIR)/
install -d $(DESTDIR)/$(SYSV_INITDIR)/
install -m 0755 x-setup-init.d $(DESTDIR)/$(SYSV_INITDIR)/x-setup
install -m 0755 graphical_start ${DESTDIR}/${SYSV_INITDIR}
install -m 0755 kogaionlive $(DESTDIR)/$(SYSV_INITDIR)/
install -m 0755 installer-gui $(DESTDIR)/$(SYSV_INITDIR)/
install -m 0755 installer-text $(DESTDIR)/$(SYSV_INITDIR)/
install -m 0755 cdeject $(DESTDIR)/$(SYSV_INITDIR)/
|