X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=INSTALL;h=ffd45bd08ac868f5bc51917bd8655c123a2d5f65;hp=928383546fac6e8108ad826ad797f49093ffe8e5;hb=a68f0fcb355db42acabe72da5939fbd1b04f6016;hpb=2652353f507345d485aef3b4e5fba5b2267d9a60 diff --git a/INSTALL b/INSTALL index 9283835..ffd45bd 100644 --- a/INSTALL +++ b/INSTALL @@ -2,18 +2,23 @@ 1. Prerequisites - A C-Compiler such as gcc or clang - - GNU Make. This document will assume GNU-Make to be executed via - `make'. On BSD systems you probably have to use `gmake' instead. + - GNU Make or BSD Make 2. Compilation - Run the GNU make program `make' or `gmake'. - + If using GNU make program make + If using BSD make program, the BSDmakefile should be + used instead when you invoke make, if however it ignores BSDmakefile + you can supply it with -f. + + make -f BSDmakefile + If no error appears, the following binary files will have been created: - gmqcc - qcvm + - gmqpak 3. Installation The `install' target will install the 2 binaries to /usr/local/bin @@ -34,6 +39,24 @@ make PREFIX=/usr install To install to a package-staging directory such as $pkgdir when - writing an ArchLinux PKGBUILD file: + writing a build script file: make DESTDIR=$pkgdir install + + + ArchLinux PKGBUILDs (release and git build) can be found in the + respective folders in ./distro/archlinux + + ArchBSD PKGBUILDs (release and git build) can be found in the + respective folders in ./distro/archbsd + + Slackware SlackBuilds (git build) can be found in ./distro/slackware + + Gentoo ebuilds (release) can be found in ./distro/gentoo, as well + as a README explaining how to build them + + Debian archives (git build) can be created invoking make in + ./distro/deb + + Fedora spec files (release) can be found in ./distro/fedora, as well + as a README explaining how to build them.