diff options
author | Andrew Cady <d@jerkface.net> | 2019-06-18 22:41:30 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2019-06-18 22:41:30 -0400 |
commit | 8879570c4f11fbfee5a9cf2bc11f4e6d99da81d2 (patch) | |
tree | 9e1aa09e8bc30d0c0ead62f86305b5d1498662b4 | |
parent | 6535dbeb4c025fe68c4c2700149dc49de0ba553c (diff) |
Makefile: convenience targets
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -47,6 +47,14 @@ else | |||
47 | ln -sf /var/cache/kiki/config/tor/hostname ${instdir}/etc/hostname | 47 | ln -sf /var/cache/kiki/config/tor/hostname ${instdir}/etc/hostname |
48 | endif | 48 | endif |
49 | 49 | ||
50 | fsmgr := $(shell which fsmgr) | ||
51 | |||
52 | rootfs: | ||
53 | cd fsmgr/samizdat && sudo $(fsmgr) build samizdat | ||
54 | |||
55 | boot: rootfs | ||
56 | sudo qemu.sh | ||
57 | |||
50 | install: ${bin_programs} samizdat-paths.sh ${compiled_programs} | 58 | install: ${bin_programs} samizdat-paths.sh ${compiled_programs} |
51 | install ${bin_programs} ${instdir}${samizdat_bindir} | 59 | install ${bin_programs} ${instdir}${samizdat_bindir} |
52 | mkdir -p ${instdir}${samizdat_initrd_files_dir} | 60 | mkdir -p ${instdir}${samizdat_initrd_files_dir} |