diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-11-21 18:07:24 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-11-21 18:07:24 +0200 |
commit | dacc0bfae08c88125035f08cd136641eee95137f (patch) | |
tree | b2af748741e2ab9ebca0f57d8ce32b5bc75b1a58 /Makefile |
Kogaion live git added
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f624ea3 --- /dev/null +++ b/Makefile @@ -0,0 +1,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)/ |