Generate install.sh with make -n install (#1996)

This commit is contained in:
Rangi
2026-06-30 15:28:45 -04:00
committed by GitHub
parent 586c3073f9
commit 0e3d1df129
5 changed files with 25 additions and 16 deletions
+6 -3
View File
@@ -12,10 +12,13 @@ RUN apt-get update && \
RUN ./.github/scripts/install_deps.sh debian
RUN make -j CXXFLAGS="-O3 -flto -DNDEBUG -static" PKG_CONFIG="pkg-config --static" Q=
# Create an archive with the compiled executables and all the necessary to install it,
# Create the install script
RUN make install.sh Q=
# Create an archive with the compiled executables, man pages, and install script,
# so it can be copied outside of the container and installed/used in another system
RUN tar caf rgbds-linux-x86_64.tar.xz --transform='s#.*/##' rgbasm rgblink rgbfix rgbgfx man/* .github/scripts/install.sh
RUN tar caf rgbds-linux-x86_64.tar.xz --transform='s#.*/##' rgbasm rgblink rgbfix rgbgfx man/* install.sh
# Install RGBDS on the container so all the executables will be available in the PATH
RUN cp man/* .
RUN ./.github/scripts/install.sh
RUN make install Q=