summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-06-18 22:41:30 -0400
committerAndrew Cady <d@jerkface.net>2019-06-18 22:41:30 -0400
commit8879570c4f11fbfee5a9cf2bc11f4e6d99da81d2 (patch)
tree9e1aa09e8bc30d0c0ead62f86305b5d1498662b4
parent6535dbeb4c025fe68c4c2700149dc49de0ba553c (diff)
Makefile: convenience targets
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5d3d924..1d67aa7 100644
--- a/Makefile
+++ b/Makefile
@@ -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
48endif 48endif
49 49
50fsmgr := $(shell which fsmgr)
51
52rootfs:
53 cd fsmgr/samizdat && sudo $(fsmgr) build samizdat
54
55boot: rootfs
56 sudo qemu.sh
57
50install: ${bin_programs} samizdat-paths.sh ${compiled_programs} 58install: ${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}