Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. all:
  2. @echo "Building Hads iso and img"
  3. @echo "-------------------------"
  4. @./bin/prepare_iso.sh | tee build.log
  5. @./bin/build_site.sh | tee -a build.log
  6. @./bin/build_obsd_iso.sh | tee -a build.log
  7. @./bin/build_obsd_fs.sh | tee -a build.log
  8. @chmod a+rw CustomOBSD.iso
  9. iso:
  10. @echo "Building Hads iso"
  11. @echo "-------------------------"
  12. @./bin/prepare_iso.sh | tee build.log
  13. @./bin/build_site.sh | tee -a build.log
  14. @./bin/build_obsd_iso.sh | tee -a build.log
  15. @chmod a+rw CustomOBSD.iso
  16. fs:
  17. @echo "Building Hads fs"
  18. @echo "-------------------------"
  19. @./bin/prepare_iso.sh | tee build.log
  20. @./bin/build_site.sh | tee -a build.log
  21. @./bin/build_obsd_fs.sh | tee -a build.log
  22. @chmod a+rw Hads.fs
  23. help:
  24. @echo "Usage: as root"
  25. @echo "make : build Hads iso and img "
  26. @echo "make clean : clean up build directories"
  27. @echo "make cleanfull : clean up build directories completely"
  28. @echo "make iso : build iso only"
  29. @echo "make fs : build fs only"
  30. @echo "make download : download all packages"
  31. @echo "make cleanfull : clean up build directories completely"
  32. download:
  33. #@./bin/download_pkgs.sh | tee -a build.log
  34. @./bin/get_all_pkgs.sh | tee -a build.log
  35. prepare:
  36. @echo "Setting up build environment"
  37. @echo "-------------------------"
  38. @./bin/prepare_iso.sh $(ARCH)
  39. clean:
  40. @echo "Cleaning build environment"
  41. @echo "-------------------------"
  42. @rm -rf Hads.*
  43. @rm -rf install*-*
  44. @rm Hads.img