logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

pass1.sh (596B)


  1. # SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
  2. # SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
  3. #
  4. # SPDX-License-Identifier: GPL-3.0-or-later
  5. src_prepare() {
  6. default
  7. # Remove and regenerate bison files
  8. rm -f perly.c perly.h
  9. bison -d perly.y
  10. mv perly.tab.c perly.c
  11. mv perly.tab.h perly.h
  12. # Regenerate embed.h
  13. rm -f embed.h
  14. ./embed_h.SH
  15. # Regenerate keywords.h
  16. rm -f keywords.h
  17. chmod +x keywords.sh
  18. ./keywords.sh
  19. # Regenerate opcode.h
  20. rm -f opcode.h
  21. chmod +x opcode.sh
  22. ./opcode.sh
  23. }