X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=INSTALL;h=5eecc419c286c556199f7a1b0536ceef8b33ea61;hp=928383546fac6e8108ad826ad797f49093ffe8e5;hb=00d1d237bc51232a52a66aca982f9ab1c950d974;hpb=2652353f507345d485aef3b4e5fba5b2267d9a60 diff --git a/INSTALL b/INSTALL index 9283835..5eecc41 100644 --- a/INSTALL +++ b/INSTALL @@ -2,18 +2,21 @@ 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 use Makefile.bsd instead + make -f Makefile.bsd + + If no error appears, the following binary files will have been created: - gmqcc - qcvm + - pak 3. Installation The `install' target will install the 2 binaries to /usr/local/bin @@ -34,6 +37,21 @@ 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