1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- all:
- @echo "Building Hads iso and img"
- @echo "-------------------------"
- @./bin/prepare_iso.sh | tee build.log
- @./bin/build_site.sh | tee -a build.log
- @./bin/build_obsd_iso.sh | tee -a build.log
- @./bin/build_obsd_fs.sh | tee -a build.log
- @chmod a+rw CustomOBSD.iso
- iso:
- @echo "Building Hads iso"
- @echo "-------------------------"
- @./bin/prepare_iso.sh | tee build.log
- @./bin/build_site.sh | tee -a build.log
- @./bin/build_obsd_iso.sh | tee -a build.log
- @chmod a+rw CustomOBSD.iso
- fs:
- @echo "Building Hads fs"
- @echo "-------------------------"
- @./bin/prepare_iso.sh | tee build.log
- @./bin/build_site.sh | tee -a build.log
- @./bin/build_obsd_fs.sh | tee -a build.log
- @chmod a+rw Hads.fs
- help:
- @echo "Usage: as root"
- @echo "make : build Hads iso and img "
- @echo "make clean : clean up build directories"
- @echo "make cleanfull : clean up build directories completely"
- @echo "make iso : build iso only"
- @echo "make fs : build fs only"
- @echo "make download : download all packages"
- @echo "make cleanfull : clean up build directories completely"
- download:
- #@./bin/download_pkgs.sh | tee -a build.log
- @./bin/get_all_pkgs.sh | tee -a build.log
- prepare:
- @echo "Setting up build environment"
- @echo "-------------------------"
- @./bin/prepare_iso.sh $(ARCH)
- clean:
- @echo "Cleaning build environment"
- @echo "-------------------------"
- @rm -rf Hads.*
- @rm -rf install*-*
- @rm Hads.img
|