os

Artifact Content
Login

Artifact fb261310832d4eb6a6724771fa2affaeb688382e:


     1  .PHONY: help doc os install configure
     2  help:
     3  	@echo 'usage: make help'
     4  	@echo '       make doc'
     5  	@echo '       make OS=<openbsd|slackware> configure'
     6  	@echo '       make OS=<openbsd|slackware> install'
     7  	@echo '       make keyboard'
     8  
     9  doctmp = /tmp/os-doc-done
    10  doc: $(doctmp)
    11  $(doctmp): README.html switches.png
    12  	fossil uv add $>
    13  	fossil uv sync
    14  	@touch $@
    15  install: configure
    16  	install/$(OS)
17 configure: os 18 @mount | grep ' /boot ' > /dev/null || mount /boot 19 lntree -s shared / 20 lntree -s $(OS)/root / 21 lntree -c $(OS)/boot /boot 22 keyboard: configure 23 @test "$(OS)" = slackware 24 lntree -s keyboard/root / 25 lntree -c keyboard/boot /boot
26 27 README.html: README.txt 28 rst2html-3 $> > $@ 29 switches.png: switches.ps 30 inkscape -D -b FFFFFF -e $@ $> 31 32 os: 33 @test "$(OS)" = slackware || test "$(OS)" = openbsd