LX3JL / xlxd

HAM radio multiprotocol dstar reflector server
GNU General Public License v3.0
163 stars 111 forks source link

Add support for staged install #221

Open nolith opened 1 year ago

nolith commented 1 year ago

This is a general refactor of the makefile with the introduction of staged install.

Is now possible to install with make install DESTDIR=build and it will build the default xlxd install structure under the build folder.

This if extremely usefull for building deb packages without using root user and without interfeering with the host xlxd installation.

It also define some standard make directory variables, all defaulted to /xlxd, to better customize the software at compile time.

make staged install: https://www.gnu.org/prep/standards/html_node/DESTDIR.html make directory variables: https://www.gnu.org/software/make/manual/html_node/Directory-Variables.html

73 de IU5BON