This PR depends on #184 which must be merged before this one.
This adds a DESTDIR variable to the Makefile which acts as a prefix for all directories in the install make target. This will make it much easier to package swhkd, as now building and installing boils down to: make && make DESTDIR="packaging_subdir" install. The default is still to install to the root.
This PR also updates contrib/PKGBUILD to make use of this updated install make target.
Just rebased manually as it seemed like something was wrong (but actually nothing was wrong).
Sorry for that, could you please approve again @Shinyzenith?
This PR depends on #184 which must be merged before this one.
This adds a
DESTDIR
variable to theMakefile
which acts as a prefix for all directories in theinstall
make target. This will make it much easier to package swhkd, as now building and installing boils down to:make && make DESTDIR="packaging_subdir" install
. The default is still to install to the root.This PR also updates
contrib/PKGBUILD
to make use of this updatedinstall
make target.