diff --git a/Makefile b/Makefile index cc2b62f..68aa909 100644 --- a/Makefile +++ b/Makefile @@ -24,3 +24,20 @@ uninstall: clean: rm $(DIR_BUILD)/$(BIN) +compile-on-debian-11: + # builds repo2html compatible with systems running glibc-2.31 and higher. + # + # this will download a debian docker container that has glibc 2.31, then + # download chicken scheme, gcc compiler, and tons of related packages, then + # download all the dependency eggs, then compile them, then compile this + # project, then except for that one output executable it will delete + # *everything* it has done and downloaded including any caches meant to + # save you some time and bandwidth the next time you need to compile this + # + # what i'm saying is, if we need to run this frequently, we should find a + # better mechanism. providing a dockerfile would probably be sufficient... + docker run --rm -it -v "$(shell pwd)":/tmp/x -w /tmp/x debian:bullseye-slim sh -c '\ + apt update &&\ + apt install -y chicken-bin build-essential make &&\ + make dependencies &&\ + make compile'