diff --git a/Makefile.defs b/Makefile.defs index 6364c794a..64e74c243 100644 --- a/Makefile.defs +++ b/Makefile.defs @@ -28,11 +28,11 @@ LD = g++ PATHSEP=/ PREFIX ?= /usr/local UDEV_PREFIX ?= /etc/udev/rules.d -INSTALLBINRELPATH = /bin/ -INSTALLSHARERELPATH = /share/proxmark3/ -INSTALLFWRELPATH = /share/proxmark3/firmware/ -INSTALLTOOLSRELPATH = /share/proxmark3/tools/ -INSTALLDOCSRELPATH = /share/doc/proxmark3/ +INSTALLBINRELPATH ?= /bin/ +INSTALLSHARERELPATH ?= /share/proxmark3/ +INSTALLFWRELPATH ?= /share/proxmark3/firmware/ +INSTALLTOOLSRELPATH ?= /share/proxmark3/tools/ +INSTALLDOCSRELPATH ?= /share/doc/proxmark3/ platform = $(shell uname) DETECTED_OS=$(platform) diff --git a/doc/md/Development/Maintainers.md b/doc/md/Development/Maintainers.md index 0dda8af3d..3d5e6dbef 100644 --- a/doc/md/Development/Maintainers.md +++ b/doc/md/Development/Maintainers.md @@ -27,6 +27,15 @@ etc. That should be a good start for you to create your package :) +If you need to tune some more paths, see their definition in `Makefile.defs`. +E.g. you might need to move the documentation elsewhere according to your distro policy: + +``` +make install PREFIX=/usr INSTALLDOCSRELPATH=/share/doc/proxmark3-${version}/ +``` + +Be careful to respect the same leading/closing `/` schema else you'll mess up your paths! + It's possible to add other firmwares as well with tagged names (`FWTAG=`), e.g. here we're compiling another image for non-RDV4 devices: ```