Changeset 193913e for Makefile


Ignore:
Timestamp:
08/07/2022 04:00:23 PM (2 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
s6-init
Children:
57c4c384
Parents:
f628276
Message:

First commit to add S6 as init system (like systemd)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rf628276 r193913e  
    1919ifneq ($(REV), sysv)
    2020  ifneq ($(REV), systemd)
    21     $(error REV must be 'sysv' (default) or 'systemd'.)
     21    ifneq ($(REV), s6)
     22      $(error REV must be 'sysv' (default), 'systemd' or 's6'.)
     23    endif
    2224  endif
    2325endif
    2426
    2527ifeq ($(REV), sysv)
     28  # SysV
    2629  BASEDIR         ?= ~/lfs-book
    2730  PDF_OUTPUT      ?= LFS-BOOK.pdf
     
    2932  DUMPDIR         ?= ~/cross-lfs-commands
    3033else
     34ifeq ($(REV), systemd)
     35  # systemd
    3136  BASEDIR         ?= ~/lfs-systemd
    3237  PDF_OUTPUT      ?= LFS-SYSD-BOOK.pdf
    3338  NOCHUNKS_OUTPUT ?= LFS-SYSD-BOOK.html
    3439  DUMPDIR         ?= ~/lfs-sysd-commands
     40else
     41  # S6
     42  BASEDIR         ?= ~/lfs-s6
     43  PDF_OUTPUT      ?= LFS-S6-BOOK.pdf
     44  NOCHUNKS_OUTPUT ?= LFS-S6-BOOK.html
     45  DUMPDIR         ?= ~/lfs-s6-commands
     46endif
    3547endif
    3648
Note: See TracChangeset for help on using the changeset viewer.